Re: Problem installing PHP4 (Win98SE + APACHE)
| From: | friedhelm betz | Date: | Sat, 21 Oct 2000 19:53:48 +0000 |
| Subject: | Re: Problem installing PHP4 (Win98SE + APACHE) | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3428@lists.php.net to get a copy of this message | ||
hi there,
> Really feel [...] installation of Apache has been successful.
> The Apache is installed in C:\Apache.
> in httpd.conf, part of the settings are:
[...]
> ScriptAlias /php4/ "c:/php/"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php4 .php
> AddType application/x-httpd-php4 .php4
> Action application/x-httpd-php4 /php/php.exe
> The PHP4's setup is:
> Intalled in C:\php
O.K.
> php.ini is in C:\Windows
O.K
> php.exe and the dlls are in C:\Windows\System
THIS is important: script alias - see your http.conf above- is where php.exe
is located and there for it HAVE to be in c:\php;
in other words: put all things related to php (but NOT php.ini) in c:\php
> the registry setting is
> [HKey....\Script Map]
> ".php"="C:\\php\\php4isapi.dll"
> ".php3"="C:\\php\\php4isapi.dll"
DELETE IT: only for IIS or PWS, if you don`t use this once you don´t need
this dll`s.
> I have copied the file test.php into C:\Apache\htdocs\
> but when I tried the URL http://localhost/test.php
> I got an error message http 404 by IE5.
what`s the error message? perhaps it would be usefull!
> in php.ini, Browscap=C:\Windows\system\inetsrv\browscap.ini
>
> Thanks.
>
> jing
hope it helps
friedhelm betz
--
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>