The requested operation has failed! (cannot find answer)
Posted
by
Geoff
on Server Fault
See other posts from Server Fault
or by Geoff
Published on 2012-10-19T13:21:48Z
Indexed on
2012/10/20
11:05 UTC
Read the original article
Hit count: 190
I know this problem is plastered all over the web but I've been searching and trying for hours with no luck. Can someone please give me some help?
I originally installed Apache 2.0.64 along with PHP 5.2.17, I went through all of the steps in this tutorial with no luck, I found that the culprit was the LoadModule line. After looking on the internet I found a whole bunch of stuff but a lot of it was referring to PHP 5 and Apache 2.2. Since there seemed to be more info on apache 2.2 I removed apache 2.0.64 and installed 2.2. I added the code to LoadModule in the conf file but I got the same problem.
I then followed the steps in this tutorial because it was slightly different with some things I hadn't tried yet but still I get the same problem. If I comment out LoadModule... it works fine but otherwise I get "The requested operation has failed!".
This is what I ended up keeping since it works only having to comment one line.
LoadModule php5_module "c:/php/php5apache2_2.dll"
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
PHPIniDir "c:/php"
DirectoryIndex index.php
</IfModule>
EDIT: How can I stop getting this error message?
UPDATE: Also, please note that I took note of the message in the PHP site that stated if PHP 5.2 was to be run with Apache to use the VC6 and not VC9. I had VC9 so I replaced it with VC6, the file is labeled php-5.2.17-nts-Win32-VC6-x86.zip
© Server Fault or respective owner