PDA

View Full Version : [lubuntu] apache php mysql installation



mure-suresh-redd
July 22nd, 2014, 07:58 PM
i have installed ubuntu 14.04 server on this i have installed apache, mysql, php5.
the problem is when i try to open .php files. the file simply goes to save mode and does not open in brouser
some explain and guide me to solve it

yancek
July 23rd, 2014, 12:15 AM
See the link below which is a tutorial for installing LAMP on Ubuntu 14.04 and has some specifics on what you need in the apache configuration file for php.

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04

SeijiSensei
July 23rd, 2014, 02:16 AM
Make sure libapache2-mod-php5 is installed from the repositories.

The best way to install LAMP on Ubuntu is described here (https://help.ubuntu.com/community/ApacheMySQLPHP).

mure-suresh-redd
July 25th, 2014, 06:32 PM
i have tried as adviced. now i am getting a new blank browser page for " phpinfo ", it is not showing any information on php. is this correct or should i get some text information in browser

SeijiSensei
July 26th, 2014, 12:31 AM
Where is the page located? in 14.04 the default website directory is /var/www/html. Is there a file in that directory that includes the code

<?php phpinfo() ?>