WAMPGuy Posted July 9, 2009 Share Posted July 9, 2009 According to the book I'm using, I've installed Apache2.2, PHP5.3, and MySQL, and am now testing the PHP installation. The MySQL installation seems to be working fine. However, when I test PHP with the usual phpinfo.php file, which I placed in the htdocs folder of my apache2 folder (per the instructions), it does not work when I type the URL in the web browser. Here's the URL I'm using: http://localhost/phpinfo.php I suspect it has to do with the Apache service not started, so when I checked, it indeed was not started. When I click to Start the service, I get and error message that reads: "Windows could not start the Apache2.2 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 service-specific vendor, and refer to service-specific error code 1." Any guidance on how to get this resolved? Thanks! Oh, I did also try the URL http://localhost/phpinfo.php.txt with no luck either. And my IIS service (probably don't need it if I'm running Apache with PHP but I installed it anyway) doesn't seem to be all there, though it appeared to have installed correctly. For instance, on the IIS console, I see no place to click on to in order to change the Handler Mappings. To access the IIS console, I used the command inetmgr after going to Start, then Run. Any help would be greatly appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/165290-error-messages-upon-trying-to-start-apache-as-a-service-testing-php/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.