After installing MYSQL APACHE2 and PHP7 when I go to see phpinfo page it shows a blank page.

During installation process I am not able to install libapache2-mod-php7 in Ubuntu 16.04. It give error like this: "Unable to locate package libapache2-mod-php7"


According to my system, the package name is libapache2-mod-php7.0. Try sudo apt install libapache2-mod-php7.0 to install that package.

That said, you should not need that package to get the phpinfo() function working in a PHP script.

  • Thanks bro. After installing libapache2-mod-php7.0 now its working. – Deepak Kumar Roy Jun 17 '16 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.