How did you install the two programs? Sounds like you need to uninstall
both, add Apache standalone, and then add the PHP binary from PHP.net.

- Jonathan

-----Original Message-----
From: Robert Schulz [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 21, 2001 9:34 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP-INST] HELP: apache 1.3.22 doesn't parse php 4.1 on W2K


Hi there !

I have a W2K with apache 1.3.22 and php 4.1 freshly installed. After
requesting .php-pages my Browser starts download of file type
"application/x-httpd-php" --> he doesn't use the php engine :(

Also i get this strange message in error.log:  (twice each time i restart
the apache):
[Fri Dec 21 10:25:50 2001] [error] Cannot remove module mod_php4.c: not
found in module list
[Fri Dec 21 10:25:51 2001] [error] Cannot remove module mod_php4.c: not
found in module list

I followed the contained install.txt for modules so added following lines to
httpd.conf:
LoadModule php4_module modules/php4apache.dll
(yes - i copied the file.... this is found correctly and loaded and the
php4ts.dll was copied to %systemroot%\system32)

    AddType application/x-httpd-php .php .phtml 
    AddType application/x-httpd-php-source .phps

well - the type obviously was correctly associated

so did i forget something ???

more...:
DocumentRoot "D:/htdocs"
    AllowOverride All

in .htaccess:
AddType application/x-httpd-php .php .php3 .php4 .phtml .html .mod .inc

i also changed %system%\php.ini (but am not sure what this was good for) :
doc_root = d:\htdocs
extension_dir = c:\php

i copied all extension and other dlls to %system%\system32
(%system%=c:\winnt)

i just don't get the clue what i did different to the 3 other already
running installations with slightly older versions...



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to