where is php.ini file
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Nov 27, 2008 10:10 pm
where is php.ini file
Does anyone know where I can find the php.ini file in the joomla installation folder?
Thanks
Thanks
- dhuelsmann
- Joomla! Master
- Posts: 19659
- Joined: Sun Oct 02, 2005 12:50 am
- Location: Omaha, NE
- Contact:
Re: where is php.ini file
Not typically in a Joomla folder unless you put it there. backend (administrator) -> help -> system info -> PHP Information Tab -> 6th block down -> Configuration File (php.ini) Pathwsabba01 wrote:Does anyone know where I can find the php.ini file in the joomla installation folder?
Thanks
will show you the path to the php.ini file in your installation.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
- Stasya
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Dec 06, 2008 4:37 pm
- Contact:
Re: where is php.ini file
Thanks you.dhuelsmann wrote:Not typically in a Joomla folder unless you put it there. backend (administrator) -> help -> system info -> PHP Information Tab -> 6th block down -> Configuration File (php.ini) Pathwsabba01 wrote:Does anyone know where I can find the php.ini file in the joomla installation folder?
Thanks
will show you the path to the php.ini file in your installation.
-
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Nov 27, 2008 10:10 pm
Re: where is php.ini file
Thanks
-
- Joomla! Intern
- Posts: 54
- Joined: Tue Oct 11, 2005 7:03 am
Re: where is php.ini file
sorry, stupid question. but mine says:
Configuration File (php.ini) Path /usr/lib
but i don't know where the usr/lib path is. I can't find it when i look with my FTP. I recently moved all my files from one folder to another and used a backup. did this possibly cause a problem?
thanks.
Configuration File (php.ini) Path /usr/lib
but i don't know where the usr/lib path is. I can't find it when i look with my FTP. I recently moved all my files from one folder to another and used a backup. did this possibly cause a problem?
thanks.
- dhuelsmann
- Joomla! Master
- Posts: 19659
- Joined: Sun Oct 02, 2005 12:50 am
- Location: Omaha, NE
- Contact:
Re: where is php.ini file
If you are on a shared server, you typically don't have access with FTP to your php.ini. You will need to adjust some parameters in your configuration.php if you moved your installation.joe m wrote:sorry, stupid question. but mine says:
Configuration File (php.ini) Path /usr/lib
but i don't know where the usr/lib path is. I can't find it when i look with my FTP. I recently moved all my files from one folder to another and used a backup. did this possibly cause a problem?
thanks.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org
- urano
- Joomla! Apprentice
- Posts: 8
- Joined: Thu Mar 23, 2006 5:01 am
Re: where is php.ini file
You can create php.ini at Joomla Directory. I do it usually.wsabba01 wrote:Does anyone know where I can find the php.ini file in the joomla installation folder?
Thanks
-
- Joomla! Intern
- Posts: 61
- Joined: Sun Aug 23, 2009 10:59 am
- Contact:
Re: where is php.ini file
You can also set php variables in .htaccess if you're on shared hosting - for example:
Code: Select all
php_flag safe_mode on
php_flag disable_functions show_source
php_value include_path ".:/home/includes/php/
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Aug 25, 2009 4:21 am
Re: where is php.ini file
I stiil cannot find the file. Inside help folder didn’t have system info file?
Thank you
Thank you
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Intern
- Posts: 61
- Joined: Sun Aug 23, 2009 10:59 am
- Contact:
Re: where is php.ini file
For your XAMP local installation log in to the Joomla Administrator backend ---- then from the menus ---- help ---- system info ------- PHP information (& then scroll down to see where your php.ini file is stored)
On a new installation on your webhost "htaccess.txt" is stored in the ROOT of the installation - i.e one level above the Administrator folder - where you see:
/administrator
/cache
/components
/images
/includes
/installation
/languages
/libraries
/logs
/media
/modules
/plugins
/templates
/tmp
/xmlrpc
htaccess.txt ---------- rename this to .htaccess
in .htaccess you can add set php variables if you do not have access to php.ini because you are on shared hosting
On a new installation on your webhost "htaccess.txt" is stored in the ROOT of the installation - i.e one level above the Administrator folder - where you see:
/administrator
/cache
/components
/images
/includes
/installation
/languages
/libraries
/logs
/media
/modules
/plugins
/templates
/tmp
/xmlrpc
htaccess.txt ---------- rename this to .htaccess
in .htaccess you can add set php variables if you do not have access to php.ini because you are on shared hosting
-
- Joomla! Explorer
- Posts: 443
- Joined: Fri Jul 03, 2009 5:38 pm
Re: where is php.ini file
php.ini locations:
XAMPP - http://www.apachefriends.org/en/faq-xam ... tml#phpini
WAMP - http://www.wampserver.com/en/faq.php
MAMP - "/Applications/MAMP/conf/php5/php.ini"
You can also use the following commands to find php.ini from the shell:
> updatedb
> locate php.ini
XAMPP - http://www.apachefriends.org/en/faq-xam ... tml#phpini
WAMP - http://www.wampserver.com/en/faq.php
MAMP - "/Applications/MAMP/conf/php5/php.ini"
You can also use the following commands to find php.ini from the shell:
> updatedb
> locate php.ini
- dr_lionheart
- Joomla! Enthusiast
- Posts: 115
- Joined: Wed Aug 26, 2009 2:19 am
- Location: Jeddah-Saudi Arabia
- Contact:
Re: where is php.ini file
it realy helped
thanks alot
thanks alot
PHP designer,
manager,RISEMYWEB
http://www.voxelx.com | Online DICOM viewer and library for radiologists
manager,RISEMYWEB
http://www.voxelx.com | Online DICOM viewer and library for radiologists
-
- Joomla! Intern
- Posts: 79
- Joined: Sat Dec 19, 2009 8:46 pm
- Location: Kona Hawaii
- Contact:
Re: here is php.ini file
I found that my host said that the php.ini need to be where the script was ran.
In this case for media manager it had a limit of 2mb.
Reason for this was uploading large files Acrobat PDF
I simply place a php.ini file into the administration folder of Joomla 1.5. Upon this PHP recognized the new php settings.
Here are the php.ini file i created:
register_globals = Off
upload_max_filesize = 30M
post_max_size = 30M
memory_limit = 30M
upload_tmp_dir = 30M
max_execution_time = 180
In this case for media manager it had a limit of 2mb.
Reason for this was uploading large files Acrobat PDF
I simply place a php.ini file into the administration folder of Joomla 1.5. Upon this PHP recognized the new php settings.
Here are the php.ini file i created:
register_globals = Off
upload_max_filesize = 30M
post_max_size = 30M
memory_limit = 30M
upload_tmp_dir = 30M
max_execution_time = 180
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun Jul 11, 2010 2:13 am
Re: where is php.ini file
This worked for me. Thanks
I simply place a php.ini file into the administration folder of Joomla 1.5. Upon this PHP recognized the new php settings.
Here are the php.ini file i created:
register_globals = Off
upload_max_filesize = 30M
post_max_size = 30M
memory_limit = 30M
upload_tmp_dir = 30M
max_execution_time = 180[/quote]
I simply place a php.ini file into the administration folder of Joomla 1.5. Upon this PHP recognized the new php settings.
Here are the php.ini file i created:
register_globals = Off
upload_max_filesize = 30M
post_max_size = 30M
memory_limit = 30M
upload_tmp_dir = 30M
max_execution_time = 180[/quote]
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Mar 28, 2011 7:26 pm
Re: where is php.ini file
I did what the some of the guys tried above, created a php.ini text file and uploaded via ftp to the ADMINISTRATOR folder but nothings seems to happen. I'm trying to change the execution time..
What am i doing wrong??!?!
What am i doing wrong??!?!
-
- Joomla! Apprentice
- Posts: 21
- Joined: Sat May 14, 2011 10:52 am
Re: where is php.ini file
This was useful, thanks...dhuelsmann wrote:Not typically in a Joomla folder unless you put it there. backend (administrator) -> help -> system info -> PHP Information Tab -> 6th block down -> Configuration File (php.ini) Pathwsabba01 wrote:Does anyone know where I can find the php.ini file in the joomla installation folder?
Thanks
will show you the path to the php.ini file in your installation.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue May 24, 2011 4:22 pm
How to change the PHP.INI on a shared server such as Cloud S
I want to upload a and attach a 4Mb PDF to an article - ive been told I need to change my php.ini and this is controlled by the hosting provider
1 - is this true?
2 - I can seem to find a php.ini even when looking with FTP
Whats the best way to make this simple change?
1 - is this true?
2 - I can seem to find a php.ini even when looking with FTP
Whats the best way to make this simple change?
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: where is php.ini file
Create a txt file with notepad and insert . Save as max.txt. Upload to your server to the root of your Joomla installation (your public_html-folder) and rename max.txt to php.ini
Done
Leo
Code: Select all
upload_max_filesize = 100M
Done
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Intern
- Posts: 80
- Joined: Thu Mar 04, 2010 9:03 am
Re: where is php.ini file
Ok, I do not get anything from this information above.
Where do I find the php.ini so I can change the size of uploaded videos? Where do I change the values on this?
Can someone pls say the direction?
Where do I find the php.ini so I can change the size of uploaded videos? Where do I change the values on this?
Can someone pls say the direction?
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Aug 10, 2011 11:29 am
Re: where is php.ini file
in system info it says Configuration File (php.ini) Path /web/conf
I dont know where is /web/conf
can anyone please help
in system info it says PHP config WRITEABLE
Thanks
I dont know where is /web/conf
can anyone please help
in system info it says PHP config WRITEABLE
Thanks
-
- Joomla! Apprentice
- Posts: 28
- Joined: Mon Jun 20, 2011 7:45 am
Where is php.ini?? SOLVED!!!
I had the same problem. Spent about 6 hours in frustration with no results.
I was trying to upload Community Builder. After changing all the permissions, creating my pwn php.ini (according to inctructions in one of above posts) and doing god knows what else I ended up contacting my hosting company and asking them if there is anything they can do about it. It took them less than 5 minutes to fix it and i have FINALLY uploaded the component.
So, if you are on a shared server, just contact them and get them to do it for you! If they refuse - find yourself another hosting company - it is not a difficult thing to change and they really should not object to that!
This really heped me http://www.joomlapolis.com/support/tuto ... p-settings
I was trying to upload Community Builder. After changing all the permissions, creating my pwn php.ini (according to inctructions in one of above posts) and doing god knows what else I ended up contacting my hosting company and asking them if there is anything they can do about it. It took them less than 5 minutes to fix it and i have FINALLY uploaded the component.
So, if you are on a shared server, just contact them and get them to do it for you! If they refuse - find yourself another hosting company - it is not a difficult thing to change and they really should not object to that!
This really heped me http://www.joomlapolis.com/support/tuto ... p-settings
-
- Joomla! Fledgling
- Posts: 2
- Joined: Mon Sep 19, 2011 8:03 pm
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Sep 27, 2011 10:40 am
Re: where is php.ini file
This work 100% for me - I dropped the php.ini file in the Administrator folder and could upload the component that timed out before. (Fabrik)Here are the php.ini file i created:
register_globals = Off
upload_max_filesize = 30M
post_max_size = 30M
memory_limit = 30M
upload_tmp_dir = 30M
max_execution_time = 180
(The upload failed and said: "There was an error uploading this file to the server.")
Thanks!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Sep 27, 2011 12:05 pm
Re: where is php.ini file
Important can easy create php.inimaggie0608 wrote:my way to handle this is to create php.ini at the Joomla Directory
-
- Joomla! Apprentice
- Posts: 32
- Joined: Mon Oct 03, 2011 4:19 pm
- Contact:
Re: where is php.ini file
php.ini can be placed anywhere. Run phpinfo() and see where it is.
Please read forum rules regarding the use of signatures: http://forum.joomla.org/viewtopic.php?f=8&t=65
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Nov 19, 2011 6:22 am
Re: where is php.ini file
I'm also having the same issue, although i'm currently still developing the website locally and is not hosted online just yet. I'm trying to install a template which is 3.7mb in size
I've run the phpinfo() and it appears that my php.ini is located in /etc (for those windows people this is one of the hidden configs folders on a MAC)
I'm running OSX 10.7.2 at the moment and i've gone into the /etc folder and there is no php.ini file but there is a php.ini.default file. I've taken ownership of that file and modified the file to:
max_upload_filesize to 20M
Ran the phpinfo() and its still saying 2M
I've made a new php.ini file and placed it in the root folder of my website folder and the same in the administrator folder, consisting of
register_globals = Off
upload_max_filesize = 30M
post_max_size = 30M
memory_limit = 30M
upload_tmp_dir = 30M
max_execution_time = 180
Ran the phpinfo() and its still saying 2M... =(
Any help would be much appreciated...
I've run the phpinfo() and it appears that my php.ini is located in /etc (for those windows people this is one of the hidden configs folders on a MAC)
I'm running OSX 10.7.2 at the moment and i've gone into the /etc folder and there is no php.ini file but there is a php.ini.default file. I've taken ownership of that file and modified the file to:
max_upload_filesize to 20M
Ran the phpinfo() and its still saying 2M
I've made a new php.ini file and placed it in the root folder of my website folder and the same in the administrator folder, consisting of
register_globals = Off
upload_max_filesize = 30M
post_max_size = 30M
memory_limit = 30M
upload_tmp_dir = 30M
max_execution_time = 180
Ran the phpinfo() and its still saying 2M... =(
Any help would be much appreciated...
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: where is php.ini file
On xampp it is in the php folder. Did you look there?
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Nov 19, 2011 6:22 am
Re: where is php.ini file
Hi sovainfo,
I did not use XAMPP to install mySQL.. i downloaded the mySQL and installed that instead... bugger! If i used XAMPP, i would assume i would have been able to control this setting from a UI of some sort..
Issue is still present.. =(
I did not use XAMPP to install mySQL.. i downloaded the mySQL and installed that instead... bugger! If i used XAMPP, i would assume i would have been able to control this setting from a UI of some sort..
Issue is still present.. =(
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: where is php.ini file
php.ini is not related to mysql, it is to php. Where did you install php. The php.ini is in that folder.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sat Nov 19, 2011 6:22 am
Re: where is php.ini file
f memory serves me correctly, i also manually installed phpMyAdmin to interact with the database using a user friendly UI. I've searched in the installed folder for the php.ini file or anything related or similar with no success. I've even created my own php.ini file in the phpMyAdmin folder to no success again. I've even tried searching my entire mac for php.ini and nothing is coming up.. =/
Not too sure which file is overriding or defaulting the PHP max file size..
Does PHP default to a certain hidden file perhaps, or is there a file that points to a default file if no php.ini is found?
Not too sure which file is overriding or defaulting the PHP max file size..
Does PHP default to a certain hidden file perhaps, or is there a file that points to a default file if no php.ini is found?