I have installed Fedora Core 4 with PHP5. When I load a PHP page via a web client I get a blank page.
I have tried several time to remove php and re-install from FC4 distributions, in the hope that the RPM’s might set everything up to work. No luck.
My php.conf file below is in /etc/http/conf.d/
PHP is an HTML-embedded scripting language which attempts to make it
easy for developers to write dynamically generated webpages.
LoadModule php5_module modules/libphp5.so
Cause the PHP interpreter to handle files with a .php extension.
AddHandler php5-script .php
AddType text/html .php
Add index.php to the list of files that will be served as directory
indexes.
DirectoryIndex index.php
Uncomment the following line to allow PHP to pretty-print .phps
files as PHP source code:
#AddType application/x-httpd-php-source .phps
One thing I am not sure about is that in the http.conf file it says:-
Load config files from the config directory "/etc/httpd/conf.d".
Include conf.d/*.conf
But my php.conf file is in /etc/httpd/conf.d/ directory
Could it be that all the conf file are not being included?