-
Notifications
You must be signed in to change notification settings - Fork 1
CloudLinux Notes
On Cloudlinux with cagefs and php selector installed, they have added a global php.ini that you can add directive to:
/etc/cl.selector/global_php.ini
; This file provides global settings for php.ini of all alt-php packages
; The structure of this file:
; option = value
; To confirm changes please run:
; /usr/sbin/cagefsctl --setup-cl-selector
[Global PHP Settings]
log_errors = On
error_log = "/var/log/httpd/php_error.log"
After editing that file and added the directives as specified at the top of the file you have to run the following command to sync the changes out to all versions of php.
/usr/sbin/cagefsctl --setup-cl-selector
After that command completes, we then have to apply the changes to the cage and restart apache.
/usr/sbin/cagefsctl --force-update /etc/init.d/httpd restart
This wiki is free documentation; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. There are no warranties and you use the knowledge AS-IS.