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?
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?
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.
sudo chown -R www-data:www-data /var/www/html
or something like that. Wich index file is in this folder? Is it a .html file with php content? Then you have to rename it to .php – sedrubal Sep 17 '14 at 13:25