1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

php does not use /etc/php.ini

Discussion in 'Plesk for Linux - 8.x and Older' started by danielh, May 4, 2006.

  1. danielh

    danielh Guest

    0
     
    Hello

    After upgrading to RHEL4 and Plesk8 php suddenly does not seem to read /etc/php.ini.

    I've made changes there and they do not reflect to my customers.

    After a php -i|grep php.ini it shows /etc/php.ini and if I create a .htaccess file with some configuration changes (using php_flag) those DO reflect.

    What could cause this and how do I resolve it?


    Regards
    Daniel
     
  2. Spre

    Spre Guest

    0
     
    more lazyness for swsoft.
     
  3. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    It's normal, I had the same problem.

    Solution:

    Type this as root over /etc/ directory:

    chcon -t httpd_sys_content_t php.ini

    Now, I will to wait thanks!
     
Loading...