So, the Info.php on Your New Apache Install is Blank

You're doing a fresh LAMP install on your sweet Ubuntu rig. Apache is up and running and you just installed PHP.  You create an info.php page in /var/www/html and fire it up. It's blank!

Before we get much farther, here's the main takeaway from this post. Always check your Apache error log first! Let's do that now, shall we?

Boom, there it is. Permission denied.

A quick

$ sudo chmod 644 info.php

and we can move on.

As I said, there are many reasons an info.php or test.php file is blank, but check the Apache Error log first.

Posted June 20, 2014 03:08 PM EDT

More Like This Post