Bekijk de volledige versie : PHP + apache help pls
darkdiablo
05-05-2008, 17:38
Hi,
i would like to install php and apache on my router, does anyone have tutorial, or is there a thread dealing with this.
Thanks,
Pavel
darkdiablo
05-05-2008, 22:05
great tut here - http://www.macsat.com/macsat/content/view/23/29/
dont fordet to start it :)
and problem is -
i cannot start cgi-bin commands
i have put this cgipat=/cgi-bin/* to thttpp.conf
but still wont work. can someone help pls
darkdiablo
05-05-2008, 23:42
quick solution for me was that I ran busybox on 82 and redirected cgi-bins there. So a have 2 web servers running and it sucks, big time.
So if you can still help me...
Thanks
that is no apache.
if you want apache you should do:
ipkg install apache
this is just thttpd, for single users only, and it''s not really good in handeling big size scripts.
I failed many times to start apache up as I can''t find any config files...
if you want a proper server go for lighttpd, you have tons of possibilities and it''s quite easy to config;)
Hi,
like wpte said, use lighttpd in combination with php.
you could use the following tutorial: http://www.wl500g.info/showthread.php?t=5247
(In my opinion the far-most-easiest way to get a webserver with php running.. There's also support for mysql, but you've to install that seperately)
darkdiablo
06-05-2008, 23:19
well my question is can lighttp hangle cgi scripts?
Hi,
Yes, it can handle cgi. (although some configuration is required)
I have the transmission.cgi and a selfmade Wake-on-lan cgi page running of lighttpd.
in the lighttpd.conf is a section where you can enter information for the cgi-parser.