Vasudev Posted February 9, 2011 Share Posted February 9, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/227168-after-php-5217-installation-apache-2059-is-not-restarting-in-windows-xp/ Share on other sites More sharing options...
sunfighter Posted February 10, 2011 Share Posted February 10, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/227168-after-php-5217-installation-apache-2059-is-not-restarting-in-windows-xp/#findComment-1172122 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.