I changed all of the 'php_admin_value' directives to just 'php_value' in that file but I was still unable to change the 'session.save_path'.

A little more digging and I found that the 'php_admin_value' directives are ALSO in the vhost files for each site and must be overridden there too.

The only downside is that unless I modify the vhost template, then the next time I save this site the vhost file will be re-written and I'll have to make these changes again. That is a small price to pay, because without being able to override 'session.save_path' my entire site goes down.

I changed all of the 'php_admin_value' directives to just 'php_value' in that file but I was still unable to change the 'session.save_path'.

A little more digging and I found that the 'php_admin_value' directives are ALSO in the vhost files for each site and must be overridden there too.

The only downside is that unless I modify the vhost template, then the next time I save this site the vhost file will be re-written and I'll have to make these changes again. That is a small price to pay, because without being able to override 'session.save_path' my entire site goes down.

Feature Request Please Falko?

Click to expand...

I don't see php_admin_values in the vhost template (vhost.conf.master), at least not for PHP-FPM ... where did you see this?

Btw. You can override vhost values in the apache directives field of the website.

Click to expand...

This doesn't work for my particular case. I'm using a PHP framework which modifies 'session.save_path' at run time to store sessions in its own session folders (different folders depending on the user type).

This doesn't work for my particular case. I'm using a PHP framework which modifies 'session.save_path' at run time to store sessions in its own session folders (different folders depending on the user type).

Click to expand...

Then you can e.g. remove the lines for the session save path from vhost template and php fpm pool template completely if you want to manage it on a per site basis. The templates exist so that a admin can taylor the system for its needs as we can not make all options available trough the interface as this would make the software unusable if we add a few ghundred additional fields with options in the site settings.