Results 1 to 10 of 10

Thread: Php-gd

  1. #1

    Php-gd

    I configured thttpd-php following the Mascat tutorial, but now I want to add GD support (so I can run a Thumbnail creator script).

    I already installed the PHP-GD ipkg, but it still seems that I don't have GD running correctly but PHPinfo() outputs that /opt/etc/php.d/gd.ini is parsed.

    Could somebody help me out?

    Or will GD support cost to much performance for the WL500G ?

  2. #2
    some extra info to make the problem more clear: PhpInfo() shows it is parsing the GD.so extension, but I don't see a GD section appear.

    does this means that the GD option could only be added when php is build?

    has anybody thttpd-php + GD working ?

  3. #3
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    It worked for me last year with jpgraph PHP environment and GD as drawing engine on Deluxe. I see no reason why it should not work now.

  4. #4

    php-gd

    I used it to generate captcha's
    it worked for me with Oleg's 7b firmware. now I upgraded to firmware 7e and I get segmentation faults crashing thttpd.

    I tried some standard code from the php manual and even that crashes.
    Last edited by VidJa; 12-07-2006 at 11:27.

  5. #5
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    maybe libgd was upgraded and php was not

  6. #6
    Hi,nobody knows how to fix it?I have the same problem

  7. #7
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Maybe you should try http://www.wlan-sat.com/boleo/optware/oleg package feed for a clean install of /opt. First install uclibc then php-thttpd.

  8. #8
    thx but the result is same

  9. #9
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    php-thttpd was not changed for a year and is at latest available version. nor libgd which is latest version.

    php-thttpd also depends on libxml

    php was recently upgraded to latest version.

    So there is no problems with build. There must bi problem with software components.

    Someone must look at it to give more detailed output. I speculate that the problem is with php itself which is more recent than old thttpd source.

  10. #10
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    I have prepared old packages from revision 3143 for someone to try and verify if php-gd works. This is 04/17/06 revision with php 5.0.4
    Code:
    svn co -r 3143 http://svn.nslu2-linux.org/svnroot/optware/trunk  wl500g
    export OPTWARE_TARGET=wl500g
    make php
    make php-thttpd

    Copy all provided packages from http://www.wlan-sat.com/boleo/optware/thttpd into local directory and issue
    Code:
    ipkg install *.ipk
    I suggest clean /opt for this purpose.

Similar Threads

  1. lighttpd with php ??
    By theboy50 in forum WL-500g Custom Development
    Replies: 2
    Last Post: 07-06-2006, 10:11
  2. php package broken?
    By Artefacto in forum WL-500g Q&A
    Replies: 3
    Last Post: 19-05-2006, 03:18
  3. PHP Path
    By MHz in forum WL-500g Q&A
    Replies: 2
    Last Post: 15-05-2006, 13:07
  4. sqlite en php ???
    By VidJa in forum Dutch Discussion - Nederlands
    Replies: 1
    Last Post: 06-03-2006, 09:10

Posting Permissions

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