View Full Version : httpd.conf file editing
March 27th, 2008, 04:15 PM
Need to know what program to use to edit this file for php safe mode. I can get to this, but cannot save with the .conf file extension.
March 27th, 2008, 04:59 PM
notepad should work fine
March 27th, 2008, 05:23 PM
Well I got the file edited ok, but the safe mode is still showing active in the local value of the php core. Is there another location for this problem to reside.
php.ini is corrected and httpd.conf is corrected
March 27th, 2008, 07:40 PM
You probally need to restart the server but at any rate your host should be able to assist you.
March 30th, 2008, 02:37 AM
I looked over my httpd.conf file, and noticed that all of the directories and website information were in the form of examples. Should this be my sites actual information?
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
# ServerAdmin email@example.com
# DocumentRoot /www/docs/dummy-host.example.com
# php_admin_flag safe_mode off
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
March 30th, 2008, 12:43 PM
Again as I have posted before your web host should be able to assist you in turning off safe mode correctly for their server setup.
I would expect your apache setup to have some sort of define area for the site and yes this is where the admin flag to turn off safe mode should be. The reason I keep saying ask your host is on different servers there are many different areas where they can turn on or off directives like this as their are many sub files that get loaded per site.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.