I've got IIS installed and would like to switch to apache. I wondered if I needed to uninstall IIS first becuase I'd quite like to have both. I don't want to use them both simultaneously... I'd disbale IIS and enable apache if I wanted to host from apache and vice versa if I wanted to use IIS. Does this cause problems just stopping and starting various services?
Yes, you can have them both installed. You could even have them both running at the same time as long as you have them use different ports (like 80 and 8080).
I'm having difficulty setting the directory my html and php files are stored in with apache. I wanted to set it to the same as IIS is using so I don't need to keep two copies of everything.
I'm trying to edit the httpd.conf file and I assume I just need to change
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "D:/Program Files/Apache Group/Apache2/htdocs">
to
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "D:/Inetpub/wwwroot">
But even when I do this it still tries to serve from it's default directory in program files...??? Am I doing this wrong?
LOl I'm so dumb... When you install php for apache it brings up "sorry the software to configure the httpd.conf file has not yet been written, please edit httpd.conf manually"
I can't find where I'm supposed to do this. When I open php files in localhost using apache it just displays half of the source code.