.php file blank - .php5 files works

Posted by Kleidi on Server Fault See other posts from Server Fault or by Kleidi
Published on 2013-11-09T19:16:21Z Indexed on 2013/11/09 21:56 UTC
Read the original article Hit count: 231

Filed under:
|
|

I have a problem with a server of mine. I've installed virtualmin/webin on it for administration and I have 1 domain on it. DNS management is external. On this domain I only have an html "Under Construction" index and 5 subdomains.

In all those subdomains I have PHP systems running perfectly. I've tried to install Wordpress on the main domain and I'm having some issues: None .php files loads. I have made a phpinfo file on it to check it and it won't work either; only a blank page appears. When I check the source code of it in browser, appears the code. I have changed the extensions to .php5 and it worked perfectly. Something is going wrong with it but I can't figure out what.

I have checked the apache error and nothing appears. 3 Days ago I upgraded from php 5.2.* to 5.4.21. Server is running CentOS 5.10.

© Server Fault or respective owner

Related posts about php

Related posts about php5