Filed under G.N.E

PHP enable for apache

PHP is disabled in user home directories by default, so if you are testing from public_html it doesn’t work. Check /etc/apache2/mods-enabled/php7.0.conf # Running PHP scripts in user directories is disabled by default # # To re-enable PHP in user directories comment the following lines # (from to .) Do NOT set it to On as … Continue reading

How to install LAMP

Originally posted on Jaspreet Kaur Sarao:
Type the following commands in terminal: $sudo apt-get install apache2 Then type y $sudo apt-get install php5 libapache2-mod-php5 Type y $sudo apt-get install mysql-server mysql-server Type y After this fill the password as username ‘root’ then press Tab then press space to select ok $sudo apt-get install phpmyadmin press…