Page 1 of 2

where is php.ini file

Posted: Sat Dec 06, 2008 4:01 pm
by wsabba01
Does anyone know where I can find the php.ini file in the joomla installation folder?

Thanks

Re: where is php.ini file

Posted: Sat Dec 06, 2008 4:36 pm
by dhuelsmann
wsabba01 wrote:Does anyone know where I can find the php.ini file in the joomla installation folder?

Thanks
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) Path

will show you the path to the php.ini file in your installation.

Re: where is php.ini file

Posted: Sat Dec 06, 2008 4:42 pm
by Stasya
dhuelsmann wrote:
wsabba01 wrote:Does anyone know where I can find the php.ini file in the joomla installation folder?

Thanks
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) Path

will show you the path to the php.ini file in your installation.
Thanks you.

Re: where is php.ini file

Posted: Sat Dec 06, 2008 4:57 pm
by wsabba01
Thanks

Re: where is php.ini file

Posted: Sat Aug 22, 2009 7:27 pm
by joe m
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.

Re: where is php.ini file

Posted: Sat Aug 22, 2009 8:35 pm
by dhuelsmann
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.
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.

Re: where is php.ini file

Posted: Sun Aug 23, 2009 9:23 pm
by urano
wsabba01 wrote:Does anyone know where I can find the php.ini file in the joomla installation folder?

Thanks
You can create php.ini at Joomla Directory. I do it usually.

Re: where is php.ini file

Posted: Sun Aug 23, 2009 11:08 pm
by tradetaxfree
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/

Re: where is php.ini file

Posted: Tue Aug 25, 2009 4:47 am
by ipohismytown
I stiil cannot find the file. Inside help folder didn’t have system info file?

Thank you

Re: where is php.ini file

Posted: Tue Aug 25, 2009 6:12 am
by tradetaxfree
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

Re: where is php.ini file

Posted: Wed Aug 26, 2009 1:34 am
by jdavis74
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

Re: where is php.ini file

Posted: Wed Aug 26, 2009 2:27 am
by dr_lionheart
it realy helped
thanks alot

Re: here is php.ini file

Posted: Sun May 30, 2010 12:14 am
by bluebeach
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

Re: where is php.ini file

Posted: Sun Feb 27, 2011 2:10 am
by meditlondon
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]

Re: where is php.ini file

Posted: Fri May 13, 2011 3:03 am
by lead3
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??!?!

Re: where is php.ini file

Posted: Sat May 14, 2011 10:56 am
by JackRT
dhuelsmann wrote:
wsabba01 wrote:Does anyone know where I can find the php.ini file in the joomla installation folder?

Thanks
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) Path

will show you the path to the php.ini file in your installation.
This was useful, thanks...

How to change the PHP.INI on a shared server such as Cloud S

Posted: Tue May 24, 2011 4:26 pm
by djmac909
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?

Re: where is php.ini file

Posted: Tue May 24, 2011 5:18 pm
by leolam
Create a txt file with notepad and insert

Code: Select all

upload_max_filesize = 100M
. 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 8)

Re: where is php.ini file

Posted: Sun Jul 10, 2011 10:36 am
by superx11
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?

Re: where is php.ini file

Posted: Wed Aug 10, 2011 11:33 am
by dandruff1
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

Where is php.ini?? SOLVED!!!

Posted: Sat Sep 17, 2011 1:21 am
by giemomi
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

Re: where is php.ini file

Posted: Mon Sep 19, 2011 8:06 pm
by luce_di_oro
Thanks Image

Re: where is php.ini file

Posted: Tue Sep 27, 2011 10:44 am
by freshfire
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
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)

(The upload failed and said: "There was an error uploading this file to the server.")

Thanks!

Re: where is php.ini file

Posted: Tue Sep 27, 2011 12:54 pm
by helenlovely205
maggie0608 wrote:my way to handle this is to create php.ini at the Joomla Directory
Important can easy create php.ini

Re: where is php.ini file

Posted: Mon Oct 03, 2011 4:57 pm
by happyhosting
php.ini can be placed anywhere. Run phpinfo() and see where it is.

Re: where is php.ini file

Posted: Sat Nov 19, 2011 6:32 am
by EdZz
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...

Re: where is php.ini file

Posted: Wed Nov 23, 2011 1:02 am
by sovainfo
On xampp it is in the php folder. Did you look there?

Re: where is php.ini file

Posted: Wed Nov 23, 2011 1:10 am
by EdZz
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.. =(

Re: where is php.ini file

Posted: Wed Nov 23, 2011 9:32 am
by sovainfo
php.ini is not related to mysql, it is to php. Where did you install php. The php.ini is in that folder.

Re: where is php.ini file

Posted: Thu Nov 24, 2011 12:58 am
by EdZz
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?