PHP4.1.0 & Apache1.3.22 under WinXP
| From: | Christian Calloway | Date: | Sun, 16 Dec 2001 01:44:31 +0000 |
| Subject: | PHP4.1.0 & Apache1.3.22 under WinXP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77840@lists.php.net to get a copy of this message | ||
Hi everyone,
I'm having troubles getting Apache to recognize .php files, and thus parse
them. I followed the instructions included with the PHP4.1.0 distribution,
and have PHP loaded as an Apache module, checking my services confirms this
as its description reads "Apache/1.3.22 (Win32) PHP/4.1.0". But when I
attempt to load a .php file, I will get the entire file, unparsed. I added
the following two lines to my httpd.conf file:
LoadModule php4_module C:\Apache.MySQL.PHP\PHP\sapi\php4apache.dll
AddType application/x-httpd-php .php
Am I missing something? Thanks,
Christian