Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd please sign up again. Thanks!

Where to place secondary php.ini on CENTos webserver?

Discussion in 'Web Server' started by DSeyir, Sep 4, 2013.

  1. DSeyir

    DSeyir Guest

    Hi,

    I have a VPS and sub accounts on those.

    There is a php.ini that I access via SSH, but modifications there are not affecting the upload max allowed on the sub account.



    So, if I place a secondary php.ini, where should it be: on the public_html folder of the sub-account or before that /home/user ?

    Thank you
     
    1 person likes this.
  2. DSeyir

    DSeyir Guest

    Anyone there?

    I did placed on the working folder but its not affecting, had to modify things on the root php.ini

    Please <>
     
  3. nixsavy

    nixsavy Guest

    First of all check the Loaded Configuration File for the domain. For this you can Create a phpinfo.php page under document root path of your domain and insert below code then access with your domain name as http://yourdomain.com/phpinfo.php . Make sure file permissions and ownership is correct.

    Code:
    <?php phpinfo(); ?>
    There you will see a option "Loaded Configuration File" then make changes in that file to make changes for domain.
     
    1 person likes this.

Share This Page