where is php.ini file

Need help installing Joomla! 1.5? For all Joomla! 1.5 installation issues please use this forum.

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.
wsabba01
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Nov 27, 2008 10:10 pm

where is php.ini file

Postby wsabba01 » Sat Dec 06, 2008 4:01 pm

Does anyone know where I can find the php.ini file in the joomla installation folder?

Thanks

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19156
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: where is php.ini file

Postby dhuelsmann » Sat Dec 06, 2008 4:36 pm

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.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
http://www.kiwaniswest.org

User avatar
Stasya
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Dec 06, 2008 4:37 pm
Contact:

Re: where is php.ini file

Postby Stasya » Sat Dec 06, 2008 4:42 pm

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.

wsabba01
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Nov 27, 2008 10:10 pm

Re: where is php.ini file

Postby wsabba01 » Sat Dec 06, 2008 4:57 pm

Thanks

joe m
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Tue Oct 11, 2005 7:03 am

Re: where is php.ini file

Postby joe m » Sat Aug 22, 2009 7:27 pm

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.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19156
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: where is php.ini file

Postby dhuelsmann » Sat Aug 22, 2009 8:35 pm

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.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
http://www.kiwaniswest.org

User avatar
urano
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Mar 23, 2006 5:01 am

Re: where is php.ini file

Postby urano » Sun Aug 23, 2009 9:23 pm

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.
Experto Joomla
Servicios y Asesoría Joomla! en Español
[url]Experto-Joomla.com[/url]

tradetaxfree
Joomla! Intern
Joomla! Intern
Posts: 61
Joined: Sun Aug 23, 2009 10:59 am
Contact:

Re: where is php.ini file

Postby tradetaxfree » Sun Aug 23, 2009 11:08 pm

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/

ipohismytown
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Aug 25, 2009 4:21 am

Re: where is php.ini file

Postby ipohismytown » Tue Aug 25, 2009 4:47 am

I stiil cannot find the file. Inside help folder didn’t have system info file?

Thank you
You do not have the required permissions to view the files attached to this post.

tradetaxfree
Joomla! Intern
Joomla! Intern
Posts: 61
Joined: Sun Aug 23, 2009 10:59 am
Contact:

Re: where is php.ini file

Postby tradetaxfree » Tue Aug 25, 2009 6:12 am

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


User avatar
dr_lionheart
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 114
Joined: Wed Aug 26, 2009 2:19 am
Location: Jeddah-Saudi Arabia
Contact:

Re: where is php.ini file

Postby dr_lionheart » Wed Aug 26, 2009 2:27 am

it realy helped
thanks alot
PHP designer,
manager,RISEMYWEB
http://www.9or.cc | صور
http://www.risemyweb.com | موقعي

bluebeach
Joomla! Intern
Joomla! Intern
Posts: 79
Joined: Sat Dec 19, 2009 8:46 pm
Location: Kona Hawaii
Contact:

Re: here is php.ini file

Postby bluebeach » Sun May 30, 2010 12:14 am

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

meditlondon
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Jul 11, 2010 2:13 am

Re: where is php.ini file

Postby meditlondon » Sun Feb 27, 2011 2:10 am

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]

lead3
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Mar 28, 2011 7:26 pm

Re: where is php.ini file

Postby lead3 » Fri May 13, 2011 3:03 am

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??!?!

JackRT
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Sat May 14, 2011 10:52 am

Re: where is php.ini file

Postby JackRT » Sat May 14, 2011 10:56 am

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...
Transitioning these from Flash... be kind to me...
car insurance companies
vehicle insurance

djmac909
Joomla! Fledgling
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

Postby djmac909 » Tue May 24, 2011 4:26 pm

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?

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 16237
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: where is php.ini file

Postby leolam » Tue May 24, 2011 5:18 pm

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)
-- Joomla Professional Support Services : https://gws-desk.com --
-- Joomla Specialized Hosting Solutions: https://gws-host.com --
-- Joomla Professional Web Development & Design :www.gws-studio.com
-- Member Joomla Bug Squad --

superx11
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Thu Mar 04, 2010 9:03 am

Re: where is php.ini file

Postby superx11 » Sun Jul 10, 2011 10:36 am

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?

dandruff1
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Aug 10, 2011 11:29 am

Re: where is php.ini file

Postby dandruff1 » Wed Aug 10, 2011 11:33 am

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

giemomi
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Mon Jun 20, 2011 7:45 am

Where is php.ini?? SOLVED!!!

Postby giemomi » Sat Sep 17, 2011 1:21 am

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

luce_di_oro
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Sep 19, 2011 8:03 pm

Re: where is php.ini file

Postby luce_di_oro » Mon Sep 19, 2011 8:06 pm

Thanks Image

freshfire
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Sep 27, 2011 10:40 am

Re: where is php.ini file

Postby freshfire » Tue Sep 27, 2011 10:44 am

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!

helenlovely205
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Sep 27, 2011 12:05 pm

Re: where is php.ini file

Postby helenlovely205 » Tue Sep 27, 2011 12:54 pm

maggie0608 wrote:my way to handle this is to create php.ini at the Joomla Directory


Important can easy create php.ini

happyhosting
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Mon Oct 03, 2011 4:19 pm
Contact:

Re: where is php.ini file

Postby happyhosting » Mon Oct 03, 2011 4:57 pm

php.ini can be placed anywhere. Run phpinfo() and see where it is.
Please read forum rules regarding the use of signatures: viewtopic.php?f=8&t=65

EdZz
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Nov 19, 2011 6:22 am

Re: where is php.ini file

Postby EdZz » Sat Nov 19, 2011 6:32 am

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...

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 7914
Joined: Sat Oct 01, 2011 7:06 pm

Re: where is php.ini file

Postby sovainfo » Wed Nov 23, 2011 1:02 am

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!

EdZz
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Nov 19, 2011 6:22 am

Re: where is php.ini file

Postby EdZz » Wed Nov 23, 2011 1:10 am

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.. =(

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 7914
Joined: Sat Oct 01, 2011 7:06 pm

Re: where is php.ini file

Postby sovainfo » Wed Nov 23, 2011 9:32 am

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!

EdZz
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Nov 19, 2011 6:22 am

Re: where is php.ini file

Postby EdZz » Thu Nov 24, 2011 12:58 am

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?


Return to “Installation 1.5”

Who is online

Users browsing this forum: No registered users and 6 guests