Jump to content

Recommended Posts

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! 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.