PHP White Screen

April 2, 2014 Jordansphere Apache

Scenario: A new webserver setup. HTML pages load fine but PHP shows blank white screen. Apache 2.x / Centos 6.x / PHP 5.3.3

 

First of all make sure PHP is installed. Then ensure the following lines are in the Apache configuration

LoadModule php5_module modules/libphp5.so
AddHandler php5-script .php

If the same symptoms still persist then edit php.ini :

short_open_tag = On

That solved my problem!

Powered by WordPress. Designed by elogi.