View Single Post
  #3 (permalink)  
Old September 28th, 2013, 09:49 AM
Swati G Swati G is offline
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache is not getting started after doing the PHP module configuration in httpd file.

Hi,
I have bought this book last year and since then i am trying to fix this issue. but didn't got any success.
Please help me with this:
All the three APP PHP, Apache and MySql has been installed and have checked it after installing but only PHP is not getting success as Apache server didn't get restart after editing the httpd.conf file with the given steps to configure the PHP Modules.
these are the commands:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:\PHP"

and LoadModule php6_module “C:\PHP\php6apache2_2.dll”

after activating all these line the Apache server doesn't get started. but once i ll comment these lines and then restart the service it starts and if i try to test the php script it gives error.

Detailed Error Information
Module IsapiModule
Notification ExecuteRequestHandler
Handler PHP
Error Code 0x8007007e
Requested URL http://localhost:80/test.php
Physical Path C:\inetpub\wwwroot\test.php
Logon Method Anonymous
Logon User Anonymous

at the same time if i run http://localhost:8080 i get result as it works!

please help me to resolve this problem other wise i won't b able to move ahead with the book end up without learning PHP.

Thanks
Swati G
Reply With Quote