RE: [PHP-INST] HELP: apache 1.3.22 doesn't parse php 4.1 on W2K
| From: | Jonathan Hilgeman | Date: | Fri, 21 Dec 2001 17:48:25 +0000 |
| Subject: | RE: [PHP-INST] HELP: apache 1.3.22 doesn't parse php 4.1 on W2K | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5366@lists.php.net to get a copy of this message | ||
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:rs@arcom.de]
Sent: Friday, December 21, 2001 9:34 AM
To: 'php-install@lists.php.net'
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: php-install-unsubscribe@lists.php.net
For additional commands, e-mail: php-install-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net