Hello, anybody got this installation working? My problem is PHP was not parsing. It returns text like:
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
phpinfo();
?>
</body>
</html>
here's my configuration option:
Apache 2.0.4.3
./configure --prefix=/usr/local/apache2 --enable-module=so
configure PHP 4.2.3 with apache2
support:
./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars
I tried this in the httpd.conf:
LoadModule php4_module /usr/local/apache2/libexec/libphp4.so
AddType application/x-httpd-php .php
and it did not work. According to the apache2 manual, I should use this option:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
but it did not work either...
What Am I missing? Please help.
Thanks a lot...