Issue with LAMP server
I followed this tutorial :
and this is the error message I have when I try 192.168.3.1:9000
You don't have permission to access /php/php-cgi/index.php on this server.
content of my httpd.conf different from the tutorial :
More info: I can load my console at 192.168.3.1
Any hint for me ?
Hi @SYLVAIN-MAILHIOT, try reinstalling php and apache to solve the forbidden error.
i have found the solution in an older discussion
*Chris MacKay posted 2 months ago reply quote 2
ScriptAlias /php/ "/usr/bin"
I, too, was able to reproduce this error, after following the instructions to the letter.
Upon investigation, I found this in the error_log:
"client denied by server configuration: /usr/binphp-cgi"
I adjusted the line ScriptAlias /php/ "/usr/bin" to be ScriptAlias /php/ "/usr/bin/" (notice the trailing /), and it resolved the issue.
Hope that helps!*
Thanks @Steffen-E , I will check this out later tonight