Yummy. Going to test this... Thanks Erik
Ok, here is a working minimal build of the PHP4 enabled thhtpd
The extensions are mostly disabled now, I'll see if I can build one that is more 'feature enabled'
Yummy. Going to test this... Thanks Erik
THTTPD works fine... :-)
Which PHP commands are implemented? (The PHP echo is correct! ;-))
SC
Soundrel Days
Most command are working.
Funnily, preg_replace() doesn't, even if other text replace command do
Ok and here is the (almost)full version.
For me to sucessfully run it I have to add some swap space
With this one I sucessfully run some of the nice scripts like Gallery & phpsysinfo
Good luck
Last edited by erik_bies; 11-01-2005 at 21:36.
It is working fully for me. Even without swap space... Thanks for this Erik
I can run guppy PHP server as frontend on the WL-hhd. Thats cool for testing and debugging.
It works me too. Thanks for creators...
Soundrel Days
Here is a modified script to get HD info under phpsysinfo. You must replace the corresponding file in /include/os in your phpsysinfo root
I tried the modified script. Correct!!!
Soundrel Days
It seems the more we have, the more we want. I Would like to add some libs. Did you have to modify your source? or was it a makefile optimisation story?
Would you mind giving here your make info to add our own libs to the process?
How do I install this?Originally Posted by erik_bies
I use Firmware v.1.9.2.7 CR3
copy it to router using ftp, run it using telnet
something like ./thttpd-php4f_2.21b-2_mipsel -p 81 -d yoursourcefolder
put some php files in the source folder, give them enough rights (get up stand up!) and learn how to use php.
take the config file out of the PHP3 package
than take the thhtpd+PHP4 file.
edit the script with your desired directories. dump some files in the www directory (from config file)
run
thttpd -C thttp.conf
make sure ur running it on a port different from port 80
there is a small change in the dns.c, and fiddeling with makefiles for the remaining. I'll try to dig up and make a wiki pageIt seems the more we have, the more we want. I Would like to add some libs. Did you have to modify your source? or was it a makefile optimisation story?
Would you mind giving here your make info to add our own libs to the process?
BTW. thanks for the patch of the Linux.inc.php file. Do you maybe know why it does not want to see the 2nd file system?
Last edited by erik_bies; 12-01-2005 at 23:44.
It it shown using a mount command?
Hmm, I'm giving phpsysinfo (2.3) a try and I get the following error:Any ideas?Code:Error: Linux is not currently supported