|Subject:||Why Am I Getting the PHP Source Code Instead of the Browser-interpreted Code?|
|Date:||Mon, 28 Jul 2008|
This has happened to me before, but I do not remember
what the problem actually was. I am using Apache 2.2
and PHP 5.1. In the Apache configuration file I have added the
LoadModule php5_module c:/php/php5apache2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# configure the path to php.ini
However, when I try to view the file "127.0.0.1/index.php"
I get the source code, and not the browser-interpreted code.
Any help would be appreciated.
PS. Windows XP, 3.4GB CPU, 2GB RAM