We are on:-
Apache 1.3.X
Php 4.4.X
WHM 11.25
We are trying to add PHP open_basedir to some and exclude some other accounts.
Problem No 1
==========
To Replicate
=========
- No edits at /var/cpanel/templates/apache1/vhost.default will have any difference on the final /usr/local/apache/conf/httpd.conf file when open_basedir changes are made at > Security Centre > PHP open_basedir Tweak
- The only way to get the custom changes made on /var/cpanel/templates/apache1/vhost.default to appear in /usr/local/apache/conf/httpd.conf is to run /scripts/rebuildhttpdconf
- When another account is taken off the exclude list under
> Security Centre > PHP open_basedir Tweak - The custom template at
/var/cpanel/templates/apache1/vhost.default does not show up
- Hence each time we make a change to PHP open_basedir system - we have to rebuild httpd
This is absurd. What is the point of the template? How does one change the cached settings for the php open_basedir for each account?
And forget about directly editing /usr/local/apache/conf/httpd.conf because those changes will be erased too.
So there is some configuration caching somewhere - we want to know where that is stored so that we can edit or we remove the caching altogether.
Apache 1.3.X
Php 4.4.X
WHM 11.25
We are trying to add PHP open_basedir to some and exclude some other accounts.
Problem No 1
==========
To Replicate
=========
- No edits at /var/cpanel/templates/apache1/vhost.default will have any difference on the final /usr/local/apache/conf/httpd.conf file when open_basedir changes are made at > Security Centre > PHP open_basedir Tweak
- The only way to get the custom changes made on /var/cpanel/templates/apache1/vhost.default to appear in /usr/local/apache/conf/httpd.conf is to run /scripts/rebuildhttpdconf
- When another account is taken off the exclude list under
> Security Centre > PHP open_basedir Tweak - The custom template at
/var/cpanel/templates/apache1/vhost.default does not show up
- Hence each time we make a change to PHP open_basedir system - we have to rebuild httpd
This is absurd. What is the point of the template? How does one change the cached settings for the php open_basedir for each account?
And forget about directly editing /usr/local/apache/conf/httpd.conf because those changes will be erased too.
So there is some configuration caching somewhere - we want to know where that is stored so that we can edit or we remove the caching altogether.