palantir
Verified User
suPHP won't honor php_value in vhost (with solution)
I have just discovered that suPHP will not allow to override php.ini parameters from the vhost nor from .htaccess (using php_value or php_admin_value). It will allow to create a php.ini file in the customer's directories (each directory, as it will not scan directories recursively), but then, it will not merge it with the main php.ini.
Am I right? I really can't undestand their approach. I have a bunch of sites I need to migrate to the DA panel with suPHP, and they all need auto_prepend and auto_append directives. So I'd need to duplicate the main php.ini file to EACH directory of those sites?!
Anyone has a workaround for this? (I have root on the DA server). Is returning to php_mod the only alternative??
I have just discovered that suPHP will not allow to override php.ini parameters from the vhost nor from .htaccess (using php_value or php_admin_value). It will allow to create a php.ini file in the customer's directories (each directory, as it will not scan directories recursively), but then, it will not merge it with the main php.ini.
Am I right? I really can't undestand their approach. I have a bunch of sites I need to migrate to the DA panel with suPHP, and they all need auto_prepend and auto_append directives. So I'd need to duplicate the main php.ini file to EACH directory of those sites?!
Anyone has a workaround for this? (I have root on the DA server). Is returning to php_mod the only alternative??
Last edited: