You are not logged in.

#1 2008-01-09 04:05:44

Registered: 2006-01-05
Posts: 84

Hiawatha (web server) & php = 500: internal error

I've installed both hiawatha and php. I've configured hiawatha in accordance with its website's how to. If i browse to a test .html file it loads fine. If i try to browse to a test .php file i get the 500: Internal server error. This is my first foray into both web servers and php so I'm at ground zero. Do I need to change some setting(s) in the enormously large php.ini? I did not make any changes after the php installation.


#2 2008-01-12 00:38:36

Registered: 2007-12-28
Posts: 44

Re: Hiawatha (web server) & php = 500: internal error

Forgive me if I lead you a stray, for I've never used hiawatha. However my first go at getting php running with apache using Archlinux, I was also unable to get my index.php. For me after reading the log files, it was a simple "pacman -S libxml2" and everything is now happy.
Hope it helps you as well.


#3 2008-01-12 11:00:25

Registered: 2006-04-02
Posts: 182

Re: Hiawatha (web server) & php = 500: internal error

I think you should ask in the hiawatha forums (And then report here :-) )



#4 2012-12-10 15:59:45

From: UK
Registered: 2012-10-11
Posts: 32

Re: Hiawatha (web server) & php = 500: internal error

Hey I know this is a really old post but I'm having a similar problem with Hiawatha...

I've installed and configured Hiaqwatha according to their HowTo guides, including the php-fpm module for FastCGI support etc. but now all I get is a http 403 'forbidden' error whenever I try to access a .php file in browser (plain HTML works fine though). Oddly though before I went through the 'configuration' guides it would just bring up a download window for the .php file!

The fact that it's a "Forbidden" error I'm seeing implies to me that it's more an issue with my file-permissions rather than the web-server, but the file-system ( 'srv/http/hiawatha' ) is set to user/group "<myuser>:http" with 755 permissions (i.e. group/world are permitted "r-x" only), but this should be sufficient right?

The 'php-fpm' module is configured as user/group "http:http" and I've made sure that Hiawatha is connecting to the unix socket located at '/run/php-fpm/php-fpm.sock' for it's FastCGI server.

The only thing I wasn't sure about was that Hiawatha itself is set to run as user/group "65534" which is 'nobody', which didn't seem right to me.
-- Should I change this to be "http:http" the same as php-fpm?

I have posted on the Hiawatha forum too as a previous commenter suggested to the OP but no response yet (I'll post back here if/when I do).

I was looking forward to trying out an alternative to Apache (although I have used lighttpd before) but I guess in the meantime it may be back to the mainstream for me sad

What would Gordon Freeman do?


Board footer

Powered by FluxBB