Re: .PHP code does not parse php5 Apache2 on windows
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: .PHP code does not parse php5 Apache2 on windows

From: <onedbguru@firstdbasource.com>
Date: Tue Apr 04 2006 - 20:18:56 CEST

In order to have a .HTML "execute" php commands, you must have html as
an addtype of AddType application/x-httpd-php - and you can only have
one AddType for each file extension.

PHP is working (if phpinf() works - it is configured correctly)

use a somewhat non-standard file extension -- something like:

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

and rename your file to *.phtml

as for the other comments concerning windows: .. and your site gets how
many hits a day?
Received on Mon May 1 02:48:15 2006