Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Services (Apache, MariaDB, MySQL…)
bndiagnostic ID: a12a4d3c-fd98-6aac-0a78-abda86c330e4
bndiagnostic output:
? Apache: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
bndiagnostic failure reason: The suggested guides are not related with my issue
Description:
I’ve got a bitnami lamp stack on a lightsail instance and I need to be able to execute makedir from PHP but i can’t seem to get the permissions working on htdocs without doing 777. I’ve got the system user (bitnami) and the php user (daemon) in a group that owns htdocs, but i still get this error when i try to execute:
Got error 'PHP message: PHP Warning: mkdir(): Permission denied in /opt/bitnami/apache/htdocs/DP_PPEngine/dp_first_pp.php on line 19
Any help much appreciated!