PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
which version of windows?
Do message boxes popup? If, what do they tell you about the error?
Did you take a look at both the webserver's logfile and the systems eventlog?
I'm using Windows XP pro.
When starting from the system tray it says: "The requested operation has failed!"
When started from My Computer>manage>services and applications> services it says:
"Windows could not start the Apache2 on Local Computer. For more information, review the system event log. If this is a non-microsoft service, contact the service vendor, and refer to the service-spesific error code 1."
Sorry I forgott to say that I have and this is what it says :
Description:
The Apache service named reported the following error:
>>> Cannot load C:/php/sapi/php4apache into server: The specified module could not be found. .
I have checked the path to this dll file several times and it is correct!
you need the php4apache2.dll module (since you're using Apache 2.0.46)
Also note the paragraph in install.txt that starts with
The precise dlls involved depend on which web server you use and whether you want to run php as a cgi or as a server module. php4ts.dll is always used
So you have to make sure php4ts.dll can be found by the process that loads php4apache2.dll by either copying that .dll to one of the system directories or to the exec-dir of the process or by adding the location (directory) to the environment variable PATH
(I prefer PATH but that's a matter of opinion)