View Single Post
Old 23rd April 2013, 10:13
grungy grungy is offline
Senior Member
Join Date: Dec 2008
Posts: 167
Thanks: 15
Thanked 17 Times in 12 Posts
Default custom php.ini for ispconfig

Since I disable functions that ispconfig needs to run properly it becomes unusable. There is a way to have a custom php.ini for ispconfig:

place your custom php.ini settings in /etc/php5/cgi/php.ispconfig.ini



add -c /etc/php5/cgi/php.ispconfig.ini to exec /usr/bin/php-cgi so it looks like this:

exec /usr/bin/php-cgi -c /etc/php5/cgi/php.ispconfig.ini -d magic_quotes_gpc=off -d session.save_path=/usr/local/ispconfig/server/temp

This works.

Will the custom changes be overwritten? Is there a better/safer way to do this?
Reply With Quote
Sponsored Links