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

Link to comment
Share on other sites

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.