This topic is locked
[SOLVED]

 PHP Runner messing with Apache?

8/26/2007 4:09:39 AM
PHPRunner General questions
S
Samadhi author

ok, so this has maybe been the third time this has happened.
I create an application, and test it and it may or may not work. Then later on when i restart my computer and try start Apache it wont start and gives me an error. This just happened a moment ago and the error went somethign like this:
Syntax error on line 275 of F:\Apache2.2\conf\httpd.conf:

Directory f:\Apache2.2.\htdocs\Project1\ path is invalid
Now previously before this i had created a project called Project1 and it didnt work because of some error.

Im new to the whole Apache PHP thing.....but why on earth is PHPRunner messing around with my Apache configuration settings.

This is maybe the 3rd tiem this has happened....each time i have to uninstall Apache and do a reinstall which is just a pain!

M
mmponline 8/28/2007

I get a similar problem everytime I install a new PHP Runner version. My WAMP server then puts Apache Server offline.
The only way I then get Apcche working again, is by uninstall / reinstall. Luckily WAMP keeps the original folder and Localhost files in tact, so it's quite a fast job - but still annoying!
Hope there will be some solution.

D
darkmage0 8/28/2007

Hehehehe you have to luv puters damn things well heres the thing if you open you apache config file and scoll all the way down to the bottom of the page i bet you money there will be like three lines that phprunner put in there delete them and you good to go.

open you orginal config file for help if you wondering which lines to delete just make sure there the bottom lines

M
mmponline 8/29/2007

Thanks
Will do that next time I do a PHPRunner update.

Sergey Kornilov admin 8/29/2007

Let me clarify what is going on.
When you build a project named Project1 to some output directory PHPRunner creates a virtual directory named "Project1" pointing to the output directory. The whole purpose of this is to simplify the testing process as you can open http://localhost/Project1 in browser and see the application.
When PHPRunner modifies httpd.conf old copy is saved to httpd.bak file so you can restore it any time.

Many people who use Apache are not familiar with httpd.conf file format. We are trying to make their life a bit easier.
I hope this helps.