0

My personal web shows a blank page in Ubuntu 14.04 with Apache 2.4.7. I have put the web files in /var/www/html.

phpinfo and phpmyadmin are both working fine. Also, please note that the same personal web runs fine on 12.04.

Any advice on this?

Kaz Wolfe
  • 34,680
imron
  • 1

1 Answers1

0

Here's what i suggest. Install apache, php following the commands below in terminal

#if you don't have apache and php installed
sudo apt-get install apache2 php5
#create the info.php file either like this or using an editor
sudo echo "<?php phpinfo(); ?>" >> /var/www/html/info.php 
#restart the apache web server
sudo service apache2 restart
#open a firefox browser to see results.
firefox localhost/info.php

Tell me how it goes.

Zuko
  • 1,277