|
Title: PHP/lighttpd Tutorial Post by: pez on May 03, 2006, 13:31:55 PM Nico's testing packages seems to be no more, mbm (http://downloads.openwrt.org/people/mbm/mips/packages/) have PHP but for mips, not mipsel. (Being all new to this idea of Embedded Linux I don't know what difference there is).
It's too bad though, Rob's (older) versions are not as comprehensive compared to these. Any idea as to how/where to go to fix this? [Must also tell you that you do great work!] Title: Re: PHP/lighttpd Tutorial Post by: macsat on May 03, 2006, 14:57:16 PM New url for this kind of packages is : http://downloads.openwrt.org/backports/rc5/ I will update the tutorials as soon as possible. Title: Re: PHP/lighttpd Tutorial Post by: pez on May 04, 2006, 08:19:44 AM Can't find a PHP-package in backports either, maybe on its merry (but slow) way? :)
I've resorted to thttpd-php in the meantime. One of these days I guess I'll have to setup my own SDK and stop bother you guys :) Title: Re: PHP/lighttpd Tutorial Post by: macsat on May 04, 2006, 08:29:46 AM You are quite right, the php package seem to be removed from Nico's repository. I tried yesterday to get in contact with Nico with no luck. I will try to get a hold of him - If I dont succeed, I will put the binaries on my downloads section. Title: Re: PHP/lighttpd Tutorial Post by: macsat on May 05, 2006, 09:35:51 AM php-packages are now available in the backports repository. You can add the backports repository to your /etc/ipkg.conf file, so that all you need to do is to use ipkg install <packagename> just like with the base packages. Your /etc/ipkg.conf file could end up looking something like: Code: src whiterussian http://downloads.openwrt.org/whiterussian/packages src non-free http://downloads.openwrt.org/whiterussian/packages/non-free src backports http://downloads.openwrt.org/backports/rc5 dest root / dest opt /opt dest ram /tmp Title: Re: PHP/lighttpd Tutorial Post by: nsn on July 04, 2006, 16:49:16 PM I tried to follow this tutorial today.. The lighttpd part is running well.
The cgi part doesn't work. I can't open the infophp.php... How come ?! I've installed all packages at the /opt. Maybe a good idea to check the tutorial again ?? Title: Re: PHP/lighttpd Tutorial Post by: macsat on July 27, 2006, 10:10:50 AM To make it work when running from /opt plz try to do this: Code: cd /etc ln -s /opt/etc/php.ini cd /usr/lib ln -s /opt/usr/lib/php Then I hope it will run for you. Title: Re: PHP/lighttpd Tutorial Post by: mdusn on September 16, 2006, 18:45:30 PM I tried to follow the tutorial for installing lighttpd/PHP. When I try to start the lighttpd daemon with ./S80lighttpd I keep getting this error:
1999-12-31 20:24:13: (configfile.c.429) source: /etc/lighttpd.conf line: 31 pos: 18 use => for assignments in arrays 1999-12-31 20:24:13: (configfile.c.802) configfile parser failed: index-file.names I went over everything again and everything was done according to the tutorial. I'm not sure what is causing the error. Any ideas? Thanks. Title: Re: PHP/lighttpd Tutorial Post by: mdusn on September 17, 2006, 00:31:04 AM Figured out what was wrong. I had not erased the # from in front of the final ")" in the lighthttp.conf file where the server modules are defined. That might be a good thing to add to the tutorial. It states to remove the # in front of each of the modules that you are enabling but doesn't mention to remove the # in front of the last parentheses as well.
Powered by SMF 1.1.7 |
SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com |