Hi,
I used Arch (Antergos) before to do web development (WordPress / PHP / MySql), but I decided to move to Solus as my daily driver...
So, I installed Apache (httpd), MariaDB, PHP and all other things that I need.
I moved about 100Gb from backup to my /www/ folder, and in /etc/httpd/conf.d/httpd.conf set the following:
<IfModule unixd_module>
User zeljko
Group zeljko
</IfModule>
LoadModule rewrite_module lib64/httpd/mod_rewrite.so
Include /etc/httpd/conf.d/vhosts/kick2018.ulrikaskickstart.test
Include /etc/httpd/conf.d/vhosts/tester.zeljkozivkovic.test
#ServerName localhost
If your host doesn't have a registered DNS name, enter its IP address here.
ServerName 127.0.0.1:80
Then, I set in vhosts/ proper configuration for sites, also in /etc/hosts added 127.0.0.1 hostname
And everything seemed to work fine. After restarting httpd and php-fpm, sites were loading.
BUT: in admin part of WP, it says that it cannot update plugins, and that folder for writing logs are not writeable (permissions issue).
/www/ content is owned by $USER: zeljko, and under group zeljko. Also, file permissions are set to 755 for directories and 644 for files. So, obviously, httpd (apache) is not respecting instructions set for User/Group in httpd.conf file.
I spent countless hours trying to find the solution (Googling mostly), but none so far worked.
Any help would be appreciated.