Comments on Install WordPress 5 with Apache on Debian 9
This tutorial will show you how to install and configure the latest version of WordPress 5 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.
5 Comment(s)
Comments
Thanks for the tutorial, it's perfect !
Great tutorial, I got it work for me too. For noobs like me there should be also an example how to open ports in the dsl router for 80 and 443 (screenshot for one router, e.g. FB7490). You mentioned it, but how to do is up to the user.
Another hint is, that when copying commands for the config files from this page, there are strange spaces inbetween. You can't see them, they look like spaces but will force apache to fail. If you copy the text into MSWord, you will identifify them, because these space are underlined. That was tricky to find. :-)
But nevertheless great work. I would never get it run without your tutorial. Thanks a lot!
First, thank you for the great instructions. However, I received an error on the theme installation page:
"You won’t be able to install new themes from here yet since your install requires SFTP credentials"
I found a fix on another blog, which I listed below. I'm not 100% if there are any other repercussions to this change, but it definitely fixed the error after the changes.
1. Add the following to /var/www/html/wp-config.php: define('FS_METHOD', 'direct'); 2. chown -R www-data:www-data /var/www 3. find /var/www/ -type d -exec chmod 755 {} \; 4. find /var/www/ -type f -exec chmod 644 {} \; 5. Restart Apache: /etc/initid./apache2 restart
its better if you just change the folder permissions with this command
sudo chown -R www-data:www-data /var/wwwHi, thanks for the tutorial it is very helpful! However, I received an error when installing wordpress: "rm: cannot remove '/var/www/html/index.html': Permission denied". Do you have any idea what i can do to fix this? Thanks