BigLebowski

Well-Known Member
Dec 24, 2007
75
0
56
hi all

I need to add "php_admin_flag register_globals On" to the default virtual host for my server as follows:

1. Old

<VirtualHost 194.231.172.12:80>
ServerName ns5.test12dns.com
DocumentRoot /usr/local/apache/htdocs
ServerAdmin [email protected]
</VirtualHost>

2. New

<VirtualHost 194.231.172.12:80>
ServerName ns5.test12dns.com
DocumentRoot /usr/local/apache/htdocs
ServerAdmin [email protected]
php_admin_flag register_globals On
</VirtualHost>

But there are warnings throughout httpd.conf that if edit it manually, any changes will be lost when httpd.conf is next rebuilt. How can I make this change permanent? I have looked at the Include editor in WHM but it doesn't seem to help.

Cheers
Dude