How can I set the php setting session.gc_maxlifetime for the apps vhost (default port 8081)? Changing the php.ini is a global settings and that's not something I want. It want to change this specifically for the apps vhost.
Try this: Edit the file: /var/www/php-fcgi-scripts/apps/.php-fcgi-starter and set the option there similar to the other settings where the lines start with -d ....... Then restart apache. If it works, then you might want to ensure that it can not be overwritten by the ISPConfig updater by running: chattr +i /var/www/php-fcgi-scripts/apps/.php-fcgi-starter
Great this works! /var/www/php-fcgi-scripts/apps/.php-fcgi-starter Code: exec /usr/bin/php-cgi -d magic_quotes_gpc=off -d session.gc_maxlifetime=14400 Could you make it possible to customize more Apps Vhost Settings? I've made a custom vhost file to set SSL certificate on an App with a custom port. Maybe you could make it possible to add a website and change the http and https port on apache so we can configure php settings, manage the php process manager and profit from lets encrypt on our apps websites?
The apps vhost is completely customizable. Just change the vhost file and then copy the template file of the apps vhost from install/tpl/ in the ISPConfig tar.gz file to the folder /usr/local/ispconfig/server/conf-custom/install/ and implement your changed in that file as well to make them update safe.