Comments on Ubuntu 15.04 LAMP server tutorial with Apache 2, 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 webserver on an Ubuntu 15.04 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.
5 Comment(s)
Comments
A perfect tutorial! It worked straight off. Many thanks.
The only thing I would point out is that systemctl isn't installed in Mint 17.2 and instead I used:
apachectl -k restart
to restart Apache.
"MariaDB enables a plugin called "unix_socket" for the root user by default, this plugin prevents that the root user can login to PHPMyAdmin and that TCP connections to MySQL are working for the root user. Therefore I'll deactivate that plugin with the following command:"
Do you mean that this unix_socket plugin is enabled by default and prevents the root user from logging into phpmyadmin? I did not enter that command yet, and root user can login remotely. Did you mean that typing in that command PREVENTS root logins on myphpadmin?
In Ubuntu 15.04 you need to configure Apache manually to get phpMyAdmin working on. Add the following line to /etc/apache2/apache2.conf:
Include /etc/phpmyadmin/apache.confThen restart Apache:
systemctl restart apache2192.168.1.100 gives blank page . Please HELP
Thanks for a great tutorial. I messed about with XAMPP for about 2 hours trying to get it to work, but this worked straightaway. Thanks again.