Re: PHP, apache and windows xp installation problem
| From: | (filip lenaerts) | Date: | Mon, 30 Sep 2002 17:08:11 +0000 |
| Subject: | Re: PHP, apache and windows xp installation problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8612@lists.php.net to get a copy of this message | ||
hi anna,
although i'm using a windows 2000 server, i think i have the same
problem. reading through newsgroups, it seems that the
php4apache2.dll is still buggy.
some say they solved the problem by using php4filter.dll, but i was
browsing through the php archives in search for the latter, and all
the sudden my eyes fall on the following line:
lrwx 1 25 Jul 25 18:18 php4.2.x-apache2.zip ->
temp/php4.2.x-apache2.zip
that file must be there for a reason, so i downloaded it, replaced it
with the experimental dll and ... yes, it works.
the link for downloading is:
http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip
hope this solves your problem too.
greetings,
filip
On Fri, 27 Sep 2002 17:49:59 +0000, annawagg@hotmail.com (Anna Wagg)
wrote:
>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
>