Search code examples
phpapachedebianlamp

PHP not parsing with LAMP on Debian 7


Okay, I've looked around for the answer to this here, & on various forums, but my experience is a little different than what I'm seeing. My server is remote, and I have a PHPINFO file in my /var/www/ directory, however, its just showing a blank page, & the PHP code is all that shows in the page source.

<?php
echo phpinfo();
?>

I'm using PHP5 & Apache2. I'm not sure what information to provide so if any more is needed, just let me know!


Solution

  • Reinstalled Apache2 then MySQL, then PHP5. This resolved the issue.