php.ini being ignored

Discussion in 'Server Operation' started by msamavi, Sep 7, 2012.

  1. msamavi

    msamavi New Member

    Hi all,

    Whenever I restart Apache2 (httpd) on my CentOS server, no values from php.ini is being updated; it seems php.ini is being ignored!

    Any comment to fix the issue would be appreciated.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You can check your PHP settings (and which php.ini is being used) by creating a file called info.php with the following contents:

    PHP:
    <?php
    phpinfo
    ();
    ?>
    Then call that file in a browser.
     

Share This Page