Which php.ini file is my Joomla 2.5 site loading?

Joomla 2.5 has reached its end of life as for 12/31/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here.

When managing a Joomla 2.5 website, there may be times that you’ll need to adjust various php settings. For example, if you are having trouble uploading large files, you will need to adjust the php value of upload_max_filesize. Before you can adjust any of your php settings, you’ll first need to know which php.ini file to change. In this article, we’ll show you how to find out which php.ini file your Joomla 2.5 website is loading php settings from.

To find out which php.ini file Joomla 2.5 is using:

  1. Log into your Joomla 2.5 admin
  2. In the top menu, hover over Site and click Global Configuration
  3. You will see 5 tabs: System Information, PHP Settings, Configuration File, Directory Permissions, and PHP Information. Click the PHP Information tab.
    click-php-information
     
  4. Scroll down the list of php settings until you find the Loaded Configuration File setting. The Loaded Configuration File will show the path to the php.ini file your Joomla 2.5 website is using.
    loaded-configuration-file
     

    In our example, as you can see from the screenshot above, the php.ini file our Joomla 2.5 website is loading is:

    /home/inmoti6/bradm.inmotiontesting.com/joomla25/administrator/php.ini

    You now know how to find out which php.ini file your Joomla 2.5 site is using!

4 Comments

Was this article helpful? Let us know!