hello, i am using apache 2.2.19 with php 5.3.6 when i configure apache httpd.conf file and restart apache it shows "the requested opereation has failed" error when i replace the httpd.conf file with the original one the error is gone and apache restarts perfectly. please tell me how to resolve this error. and also how to view the error log.
You meant to say apache 2.2.19 with php 5.3.6? pls post the changes you have made in httpd.conf file. The error log can be found in APACHE_ROOT/logs directory
Now navigate to C:\server\Apache\conf Edit httpd.conf Okay, brace yourself, we got 5 Edits in this file. No big deal, pretty simple search and replace text. Edit 1 Search for #LoadModule rewrite_module modules/mod_rewrite.so Replace with LoadModule rewrite_module modules/mod_rewrite.so Edit 2 Add the following below the previous edit #PHP5 LoadModule php5_module "C:/server/php/php5apache2_2.dll" PHPIniDir "C:/server/php" Edit 3 Search AddType application/x-gzip .gz .tgz Add the following below the searched line AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Edit 4 Search for DirectoryIndex index.html Replace with DirectoryIndex index.html index.php Edit 5 Search for #Include conf/extra/httpd-vhosts.conf Replace withinclude conf/extra/httpd-vhosts.conf Now navigate to C:\server\Apache\conf\extra Edit httpd-vhosts.conf Replace all the text inside with 01.<virtualhost *:80> 02.DocumentRoot "C:/Server/www/myserver.dev/public_html" 03.ServerName myserver.dev 04.ServerAlias www.myserver.dev 05.<directory "C:/Server/www/myserver.dev/public_html"> 06.AllowOverride All 07.Options Indexes FollowSymLinks 08.Order allow,deny 09.Allow from all 10.</directory> 11.</virtualhost>