/usr/local/cpanel/cgi-sys/php5 is no longer editable
previously we used to be able to edit /usr/local/cpanel/cgi-sys/php5 - however now it seems that it's a binary file. Specifically I used to add :
export PHP_FCGI_CHILDREN=1
export PHP_FCGI_MAX_REQUESTS=10000
to optimize php+fcgi.
Where is the recommended place to put environment variables now? These must be visible by php.
-
Solution found : create a wrapper script around php5 and call that instead of php5 in : /usr/local/apache/conf/php.conf 0 -
/usr/local/apache/conf/php.conf
Hello, Keep in mind that manual edits of this file will be lost when Apache is updated. Thank you.0
Please sign in to leave a comment.
Comments
2 comments