![]() | 1 | initial version |
I thought there would be more expertice here to help.
Anyway I think I got it covered except for the selinux issues. Please advice if I'm on the right track (LAMP for local development websites, so sites are not accesable from outside):
dnf install httpd mariadb mariadb-server php php-cli php-php-gettext php-mbstring php-mcrypt php-mysqlnd php-pear php-curl php-gd php-xml php-bcmath php-zip phpmyadmin
systemctl start httpd.service systemctl start mariadb.service
mysql_secure_installation
usermod -a -G apache $USERNAME
sudo chown -R apache:apache /var/www
sudo chmod -R 775 /var/www
sudo chgrp -R apache /var/www
sudo chmod -R g+s /var/www
<directory "="" var="" www"=""> AllowOverride All <<< -- Change this line # Allow open access: Require all granted </directory>
So everything works now but I still have writing issues. If I do:
sudo setenforce 0
Everything works fine. I can work on files with visual studio code, and I can install extensions within CMS and change config files
HELP:
What should I do with Selinux? I'm working on this for 2 days now, tested in VM's and real PC's but I can't get the right answer. Seems I can't find anything correct about it. The right answer would be highly appreciated.