gallery2 on solaris with lighttpd
|
broken_symlink
Joined: 2009-08-19
Posts: 2 |
Posted: Wed, 2009-08-19 18:22
|
|
I am trying to setup gallery2 on solaris with lighttpd. When I go to http://genesis.blogdns.net/gallery2/ I get a blank page. After looking at the lighttpd logs I found this. 2009-08-19 15:50:06: (mod_fastcgi.c.2592) FastCGI-stderr: PHP Warning: require_once(/var/lighttpd/1.4/docroot/gallery2/modules/core/classes/Gallery.class) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in /var/lighttpd/1.4/docroot/gallery2/bootstrap.inc on line 33 The user the web server is running under owns the gallery2 directory, so I'm not really sure whats going on.
|
|

Posts: 16503
Well I don't know what to say other than Lighttpd isn't supported
This is the only document I can find about Lighttpd with Gallery:
http://codex.gallery2.org/Gallery2:Lighttpd_URL_Rewrite
But I have G2 and G3 running without problems under Lighttpd. Full disclosure; there is a minor issue with running G3 under Lighttpd, a warning message when you go to set permissions on albums, but I think I have a plan to work around that. Other than that non-G2 issue, G2 runs flawlessly on Lighttpd for me.
What happens when you put Gallery into debug mode? Do you see anything beside the blank page?
FAQ: How to set/use Gallery in debug mode?
What if you display PHP errors:
FAQ: How to display PHP errors?
Do either of those garner more info?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 2
I got it working finally. The motherboard in my server died, so I had to get a new. I then found out that Solaris Express is being discontinued in October. So, I switched to OpenSolaris and it worked. I'm still using lighttpd, but i decided to switch to mysql.
Posts: 16503
Yeah, so far the only issue I've seen with Lighty is setting permissions on albums since Lighty doesn't do .htaccess. However, you should be able to edit lighttpd.conf to add a rewrite rule to run ALL images through file_proxy.php and it should work.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here