Jump to content

After PHP 5.2.17 installation, apache 2.0.59 is not restarting in Windows XP


Recommended Posts

Hi There,  I have installed Apache 2.0.59 on WinXP SP3 which successfully runs.  But after installation of PHP 5.2.17 I did the following coding and tried to restart the Apache Webserver but I'm constantly getting "The requested operation has failed".  I seek help, Code :  Configuration of PHP.ini

error_reporting set to error_reporting = E_ALL & ~E_NOTICE

register_globals = On register_argc_argv = On

doc_root = C:\Apache2\htdocs (normally htdocs)

extension_dir" set to extension_dir = "C:\php5\ext"

SMTP set to SMTP = smtp.yourISP.com

All done - Save your new ini file as php.ini to the main directory "c:php5"

 

For configuration of Apache :

 

LoadModule php5_module "c:/php5/php5apache2.dll"

AddType application/x-httpd-php .php .php3 .phps

PHPIniDir "c:/php5"

ScriptAlias /php/ "c:/php5/"

Action application/x-httpd-php "/php/php-cgi.exe"

DirectoryIndex index.htm index.html index.php index.html.var

There are newer versions of php and apache. If you really do not have a special reason for using those you might want to try wamp It's a breeze to install and almost everything you could wish for is included and set up.  Also includes mysql and phpMyAdmin

 

http://www.wampserver.com/en/download.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.