So where should i uncomment it coz frankly i dont understand what you mean. Where (which file) and what shoul i uncomment?
Take a look at my lighttpd.conf file, maybe I'm doing something wrong. Also when i type php -i in console it gives me eaccelerator error.When I disable fcgi support in conf file i can view html files but that's all.Code:PHP Fatal error: [eAccelerator] eAccelerator 0.9.6.1 can not be loaded twice in Unknown on line 0
these are the fixed workarounds I was talking about
the current eAccelerator ipkg package (and my how-to as well) adds a seperate config file: /opt/etc/php.d/eaccelerator.ini
so if you added that, either way you should remove the config file, or delete the part about eAccelerator in /opt/etc/php.ini
This helped, deleting from php.ini I mean. Maybe tutorial should be updated with this info
Probably Yes, either way thanks for your help
I installed lighttpd and whenever I start it, immediately closes without any warnings. If I type lighttpd without any option :
so its running. I've tried the original config file and the same thing. I've even deliberately inserted a mistake in the config file and it reported the problem correctly.Code:[admin@WL-00221561958C root]$ lighttpd 2011-06-11 22:55:25: (server.c.588) No configuration available. Try using -f option.
So why isn't the lighttpd process keep running ?
edit: Oh .. and I did use lighttpd successfully in the past on the same setup.
Last edited by expert_vision; 11-06-2011 at 21:17.
No .. it didn't start even with the config file.
Anyway I looked in the error.log and found this
I did just that in the config file andCode:2011-06-11 23:40:14: (log.c.166) server started 2011-06-11 23:40:14: (fdevent_linux_sysepoll.c.134) epoll_create failed (Function not implemented), try to set server.event-handler = "poll" or "select" 2011-06-11 23:40:14: (fdevent.c.41) event-handler linux-sysepoll failed, try to set server.event-handler = "poll" or "select" 2011-06-11 23:40:14: (server.c.1112) fdevent_init failed
lighttpd server is running.
I have no idea what server.event-handler = "poll" is .. and I don't think I want to know.
uhm... the how-to tells you to do so:
back in the days epoll was included in the ipkg package, not anymore tho... and since our firmware doesn't have it we need pollThis is for fixing the excluded e-poll:
line 51: change
# server.event-handler = "freebsd-kqueue" # needed on OS X
into
server.event-handler = "poll" # needed on OS X
You don't want to know what it's for? like it would be some kind of dirty thing
To explain it in short: it changes the way how an incoming web-request is trown at the event-handler. epoll is supposed to be more efficient, but it only shows a real difference when your webserver is accessed a lot
I know it is in the how-to, but since I used lighttpd before without epoll, I thought it wasn't mandatory, and apparently that changed in the new version.
And hey .. thanks for still supporting this how-to!
I tried to install mysql5 from the ipkg feed today...
after some user rights stuff I managed to get it running perfectly fine, the downside however is that the php-mysql plugin doesn't seem to be compatible with the newer mysql5
so no mysql5 support in this how-to for now
Hi,
first of all, great tutorial, easy to follow and set-up, everything working fine.
I just want to ask if there is a way to run php 5.3 on wl500gp. Is there a guide to do this? I am not very skilled in unix systems
Additionaly, is it yet possible to run mysql 5 on this box?
I need this environment as the tool I am trying to install has these requirements.
Thanks