Announcement

Collapse
No announcement yet.

Issues with php.ini and overrides

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issues with php.ini and overrides

    Im new to CloudLinux and Im having a couple of issues with the initial setup/configuration.

    I have found that when a user has a php.ini file in their public_html folder, the main server php.ini file (in this case, /usr/local/lib/php.ini) isn loaded at all. If they don have a php.ini file in their home directory, then all works fine. The issue only occurs when they have a custom file, regardless of the files contents.

    On a related note, I would like to allow PHP Selector, however, I want to prevent the use of custom php.ini files by users. Is it safe to uncomment the phprc values in /opt/suphp/etc/suphp.conf to force php.ini usage rather than allowing a user to set custom php.ini values themselves?
Working...
X