Forum

Can't manage to get PHP working...

JamesTheawesomeDude
14 June 2013, 19:49
Okay, I've read all the tutorials but I can't manage to get PHP working. All PHP pages give a 403 error.

The relevant lines in error.log look like this:

192.168.2.64|Fri 14 Jun 2013 12:38:00 -0500|/var/www/hiawatha/ip.php|CGI execution not allowed

...but my hiawatha.conf file is http://pastebin.com/4RuLUEjq
and I've followed the instructions at http://www.hiawatha-webserver.org/howto/php_configuration

What do I need to do?

Hiawatha version: Hiawatha v9.1
Operating System: Debian GNU/Linux 7.0
JamesTheawesomeDude
14 June 2013, 21:39
Aha, found the problem.

Setting
ExecuteGCI=Yes
gave a syntax error, BUT...
ExecuteCGI = yes
allows PHP.
This topic has been closed.