Comments on Ubuntu 15.10 LAMP server tutorial with Apache 2.4, PHP 5 and MariaDB (instead of MySQL)
LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache 2.4 web server on an Ubuntu 15.10 server with PHP 5 support (mod_php) and MySQL / MariaDB. Additionally, I will install PHPMyAdmin to make MySQL administration easier. A LAMP setup is the perfect basis for CMS systems like Joomla, Wordpress or Drupal.
22 Comment(s)
Comments
I follow your tutorial but i cannot access http://ip/phpmyadmin.
Ensure that you enabled the "apache" option during phpmyadmin installation. You can redo that by running:
dpkg-reconfigure phpmyadmin
You Need To Add this to the end of your /etc/apache/apache2.conf file
Include /etc/phpmyadmin/apache.conf
this tutorial seems to be rushed and not thought out
That's not necessary, just verified that that on my LAMP server here. I explained to anhtuank7c above which step of the tutorial he and you missed. I write in the tut that you should select the option "apache2" when the phpmyadmin installer asks for "Web server to reconfigure automatically"
I'll cite from the tutorial:
Web server to reconfigure automatically: <-- apache2
The error that you have occurs when apache is not selected by enabling the "apache2" option with the "space" key of your keyboard.
You can redo that by running "dpkg-reconfigure phpmyadmin".
Hi There! I found your tutorial very helpful, How would I proceed if I would like to install MySQL instead of MariaDB?
sorunsuz kurdum te?ekkür ederim.
thx. perfect install.
cant login on phpmyadmin
Did you try http://localhost/phpmyadmin?
Edit: Do this first
sudo gedit /etc/apache2/apache2.confadd this line somewhere
Include /etc/phpmyadmin/apache.confand finally restart apache.
/etc/init.d/apache2 restartExcelente tutorial. Recomendado.
many thankyou, bro^^
Starting web server apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
how to fix it?
Sorry.
I fix it already with http://askubuntu.com/questions/329323/problem-with-restarting-apache2
Concise, short, clean. I like it! Though I didn't install phpMyAdmin. Most mysql php applications come with instructions on how to configure the sql database on the command line anyways.
Worked fine for me! Thx for the work done.
I had some troubles switching from mysql to mariadb because there seemed to be an incomplete install from mythtv. And due to version conflicts (mariadb 10.0, mysql 5.6) it was a little tricky.
Hi
Appreciate the tutorial. I am very excited to have Lamp running on my system.
I followed your tutorial and unfortunately getting "Cannot log into Mysql Server" error message at Phpadmin page.
Please note that when I enter
echo "update user set plugin='' where User='root'; flush privileges;" | mysql --defaults-file=/etc/mysql/debian.cnf mysql
I get landed at > prompt.
What did I do wrong...
Please extend support in fixing the issue.
Very Nice! I'm interested to see how much faster this version of MySql is! One note, I never did get the certificate warning after enablling ssl; perhaps because I'm on a Google Cloud?
This is fantastic. It's rare to find a tutorial complete with phpmyadmin, ssl, all of it. Kudos.
many thankyou,succesfuly install......
many thanks
Hey excelent tutorial worked perfect the 1st time... i do got a question though how could i automate the whole thing into a shell script is that possible? and if so how could i do it?
Thanks, Snoop
Great tutorial! Thanks
Best guide ever.
Used it for my cubox i4pro running debian 8 .
Great job