mikeh.online

Hardware & Software info and projects

Nobara php-fpm apache

Php was not working in nobara.. i had this error in nobara linux:

php-fpm:ERROR: Unable to globalize '/etc/php-fpm.d/*.conf' (ret=2) from /etc/php-fpm.conf

The fix was to disable apparmor for php-fpm:

sudo aa-disable /etc/apparmor.d/php-fpm
sudo systemctl restart apparmor.service