D
drc15
Guest
Hi,
I have a vhost setup in which there are 2 files in my conf folder of my virtual host: httpd.include and vhost.conf
I need to make sure my PHP safe mode local is set to 'Off' in the httpd.include file, but when I edit this file the header of the file tells me not to edit the file but put my settings in the vhost.conf file.
I already have some basic settings in my vhosts.conf file, but how do I put the following sections,
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "xxxx"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "xxxx"
</IfModule>
in the vhosts.conf file when those sections above are between <Directory> tags and my include vhosts.conf line is outside these <Directory? tags?
The problem I am finding is because I am on a virtual server box from 1&1 I am finding that the settings in the httpd.include file get changed, so I need to make sure they don't by setting the details in the vhosts.conf file.
Thanks
Daniel
I have a vhost setup in which there are 2 files in my conf folder of my virtual host: httpd.include and vhost.conf
I need to make sure my PHP safe mode local is set to 'Off' in the httpd.include file, but when I edit this file the header of the file tells me not to edit the file but put my settings in the vhost.conf file.
I already have some basic settings in my vhosts.conf file, but how do I put the following sections,
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "xxxx"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "xxxx"
</IfModule>
in the vhosts.conf file when those sections above are between <Directory> tags and my include vhosts.conf line is outside these <Directory? tags?
The problem I am finding is because I am on a virtual server box from 1&1 I am finding that the settings in the httpd.include file get changed, so I need to make sure they don't by setting the details in the vhosts.conf file.
Thanks
Daniel