Forum Moderators: coopster

Message Too Old, No Replies

Apache gets stuck trying to acces mySQL

When I use "virtual" in my PHP code, the server gets stuck.

         

jajalito

10:45 pm on Feb 11, 2009 (gmt 0)

10+ Year Member



Hello, I`m using the latest version of Apache2Triad on Windows XP.
I found that the first statement on my code is causing the server to freeze. Every time it happens I need to stop and start the service manually.

The fist statement is:

virtual('/SIT2/Connections/DB.php');

and it was generated by Dreamweaver when I use the RecordSet feature.

This code worked fine in the past, but now it`s causing this problem.

By the way, I noticed that every time I have a syntax error or a DB Connection error in my code, apache server gets stuck, and I have to manually get up the server, it`s really annoying!

Thanks in advance.

phparion

8:36 pm on Feb 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld

first of all I would suggest you to install PHP,MySQL, Apache etc manually on your windows. there are more than enough articles online, just google them and you will get a step by step procedures. I am not sure if this forum will allow me to post a URL to my own article about setting up PHP environment on Windows but search howtoforge website for php category and you will get it.

Besides, there are other php environment installers e.g xamp or wamp.

Additionally, you can discuss this problem in the Apache2Triad forum their programmers would be in a better position to guide you.