HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   custom php.ini for ispconfig (http://www.howtoforge.com/forums/showthread.php?t=61575)

grungy 23rd April 2013 09:13

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

edit

/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter

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

Code:

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?

grungy 27th March 2014 17:11

I added a small patch to address this issue.

http://git.ispconfig.org/grungy/ispc...64991dddfa6391

Every single time when I update ispconfig few crucial thing like client creation stops working. This patch will fix this issue.


All times are GMT +2. The time now is 10:53.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.