Results 1 to 15 of 56

Thread: running php on wl500g

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Most command are working.
    Funnily, preg_replace() doesn't, even if other text replace command do

  2. #2
    Join Date
    Feb 2004
    Posts
    103
    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
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by erik_bies; 11-01-2005 at 21:36.

  3. #3
    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.

  4. #4
    Join Date
    Dec 2004
    Location
    Hungary
    Posts
    22
    It works me too. Thanks for creators...
    Soundrel Days

  5. #5
    Here is a modified script to get HD info under phpsysinfo. You must replace the corresponding file in /include/os in your phpsysinfo root
    Attached Files Attached Files

  6. #6
    Join Date
    Dec 2004
    Location
    Hungary
    Posts
    22
    I tried the modified script. Correct!!!
    Soundrel Days

  7. #7
    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?

  8. #8
    where does it go wrong with me ??
    When i install the thttpd with php is works great on *.html and *.php
    After rebooting my wl500g
    and start the ./thttpd -C ../etc/thttpd.conf -c /cgi-bin/* again
    i get this on *.html

    403 Forbidden
    The requested URL '/' resolves to a file which is marked executable but is not a CGI file; retrieving it is forbidden.

    *.php still works fine.

  9. #9
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    You will have to do a chmod -x on all html files. Also the filesystem needs to be ext2 or ext3 (on FAT filesystems all files have execute rights).

Similar Threads

  1. Running Giftd on wl500g
    By DeF in forum WL-500g/WL-500gx Tutorials
    Replies: 77
    Last Post: 17-04-2006, 12:57
  2. samba, ftp, I can`t get it running. PL Help!
    By atomilein in forum WL-500g Q&A
    Replies: 0
    Last Post: 23-04-2005, 08:51
  3. Samba running
    By erik_bies in forum WL-500g Custom Development
    Replies: 48
    Last Post: 23-01-2005, 20:16
  4. running a second webserver
    By ronin in forum WL-500g Q&A
    Replies: 25
    Last Post: 23-08-2004, 04:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •