Comments on Install Wordpress on LAMP in Debian 9
This tutorial will show you on how to install and configure the latest version WordPress on top of a LAMP stack in Debian 9 - Stretch. Wordpress, without a doubt, is one of the most popular open-source Content Management System or CMS used in these days for internet publishing, which powers more than 60 million websites worldwide, whether small blogging sites or notable huge name brands.
10 Comment(s)
Comments
I saw the following error when I did:
apt install libapache-mod-php7.0 ...
E: Unable to locate package libapache-mod-php7.0
E: Couldn't find any package by glob 'libapache-mod-php7.0'
E: Couldn't find any package by regex 'libapache-mod-php7.0'
I changed "libapache-mod-php7.0" to "apache2-mod-php7.0" and then the install worked.
it should be libapache2-mod-php7.0 not libapache-mod-php7.0
MariaDB> flush privilges; = MariaDB> flush privileges;
Great tutorial,
Though, I didn't have php working out of the box and had to fix that.
Thanks !
Great - Thank You
at you in a syntax error in commands to a database is here (MariaDB> flush privilges;) (MariaDB> quit )And should be here so (MariaDB> flush PRIVILEGES;)( MariaDB> quit ;)It is desirable to correct because people can not understand why at them here this command is not fulfilled. And so stattya the good thank you to you for advice.
Thanks for the guide.
How do I undo the below? I'm trying to install phpmyadmin but the installer complains of not being about not being able to connect to mysql with password NO. (ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO))
We’re not done with securing MariaDB database yet. By default, you can log in to MariaDB from localhost with the database root account without being asked for a password. To prevent possible security issues, login to the database with root user and issue the following commands.mysql –u root
MariaDB> use mysql;
MariaDB> update user set plugin='' where User='root';
MariaDB> flush privileges;
MariaDB> quit
(Granted, I haven't checked other tutorials and so but...)
Should Apache have _write_ access to the entire structure? Compared to Drupal and Moodle where only a few files and one upload directory is writable?
/C
If you want to be able to update Wordpress online, then apache needs write access to the WordPress files.
when installing libapache-mod-php7.0 make sure you write it as follow libapache2-mod-php7.0 to avoide error.