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 in which you can have all needed functions enabled. Instructions below:
- 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:
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
or you can enable custom setting without loading the custom php.ini like this
exec /usr/bin/php-cgi -d disable_functions="" -d suhosin.executor.func.blacklist="" -d magic_quotes_gpc=off -d session.save_path=/usr/local/ispconfig/server/temp
If you still have the same problems the changes have not been applied yet and you need to kill all php processes owned by the ispconfig user.
Login as the ispconfig user
su ispconfig -s /bin/bash
Kill all processes that the user can kill
kill -9 -1
Now access ispconfig admin interface again.