Discussion in 'Installation/Configuration' started by mario_antonio, Dec 15, 2011.
Is it possible for every new SuPHP site to populate automatically the Custom php.ini settings ?
You can do this by editing the default value of the database field in phpmyadmin.
Thanks for your prompt reply!
I think you are referring to editing the field custom_php_ini in the table web_domain ...
But that's for modifying an existent web site ...
But I want to accomplish is that when creating a new SuPHP site, that field will be populated automatically in the same way that the field php_open_basedir is currently being filled.
Actually what I want is to enforce those same open_basedir rules to SuPHP sites.
No, thats for new sites. You should edit the default value if the field with phpmyadmin, not the current value of existing records.
I understand now your suggestion ...
But I think that will not do what I want to accomplish ...
Since I cannot hard-code in the field a default value as a pattern (template)
My guess is that it needs to be done in one of the scripts that creates the web site ..
Separate names with a comma.