Blank PHP pages

2 posts / 0 new
Last post
#1 Sun, 02/19/2006 - 05:22
BarryJohnson

Blank PHP pages

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?

Mon, 02/20/2006 - 16:34
FaisalMehmood

Hi.

IO just noticed my PHP pages are not rendering Either. They just show a blank page. I have PHP Ver. 4.

Strange thing is, PHP page phpinfo pulls up ok. None of the scruipts work thouh. All Pages are BLANK!!

Faisal.

Topic locked