Hi all,

My name is Anna. Could anyone help me to get working apache with php. I got 
the apache server working with no problems. However when I try to configure 
PHP as a module in Apache, I cannot start the apache server again. I am 
getting the following message:
“The requested operation has failed!”

I spent a lot of time trying to make different changes but nothing has 
worked. Below I list the steps that I took. I think they were the most 
correct attempts of getting working the apache with PHP.

PLEASE HELP ME!!!


1)Operating system: Windows XP
2)Service Pack 1 installed

3)Server Version: Apache 2.0.40
a. Apache htdocs folder directory:
   C:\Program Files\Apache Group\Apache2\htdocs

4)PHP Windows Manual installation from zip binary distribution
a.apache_2.0.40-win32-x86-no_ssl.exe

5)PHP 4, 06 Sep 2002, Version 4.2.3
a)PHP installation directory:
  C:\Program Files\php 4.2.3

6)PHP is run as a server module.

7)System directory:
a.C:\WINDOWS\system32

8)The content (dlls and phpsrvlt.jar, pws-php4cgi.reg, pws-php4isapi.reg) of 
the sapi folder ( “C:\Program Files\php 4.2.3\sapi” ) was copied and passed 
to the system directory ( “C:\WINDOWS\system32” )

9)php4ts.dll was copied to “C:\WINDOWS\system32”

10)File: php.ini-dist was copied to
  “C:\WINDOWS\system32” and renamed to “php.ini”.

11)The following line was commented out:
a. ;extension_dir = ./

12)extension_dir was set as below :
a. extension_dir = C:\Program Files\php 4.2.3\extensions

13)doc_root was set as follows:
a.doc_root = C:\Program Files\Apache Group\Apache2\htdocs

14)usr folder was created in:
a.C:\Program Files\php 4.2.3\

15)mibs folder was copied (not moved !) to:
a.C:\Program Files\php 4.2.3\usr\mibs

16)Server was stopped and the httpd.conf was modified (lines below were 
added):

a. LoadModule php4_module c:/Program Files/php 4.2.3/sapi/php4apache.dll

b. AddModule mod_php4.c

c. AddType application/x-httpd-php .php

17)I was also trying to change php4apache.dll to php4apache2.dll, but it did 
not help to get server running.

18)PHP was configured as a module in Apache.

19)When I add above four lines to httpd.conf file the apache server can be 
stopped, however I cannot start it again. When those lines are commented 
out, the apache server works with no problems.

Could anyone tell me what I am doing wrong.

Yours,

Anna.



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to