Page 1 of 1

when I change the documetRoot, php stops working.

PostPosted: 01. September 2013 16:00
by adr2005
when I change the documetRoot, php stops working. Does anyone know why this happens? Below is part of httpd.conf

.....

#DocumentRoot "C:/xampp/htdocs"
DocumentRoot "D:\Sites"
#<Directory "C:/xampp/htdocs">
<Directory "D:\Sites">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All

#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
..........

Re: when I change the documetRoot, php stops working.

PostPosted: 01. September 2013 16:04
by Altrea
adr2005 wrote:... php stops working...

How do you know php stops working?