PDA

Bekijk de volledige versie : Php-gd



Paulos
27-05-2006, 20:20
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 ?

Paulos
30-05-2006, 10:26
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 ?

oleo
30-05-2006, 14:31
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.

VidJa
12-07-2006, 11:10
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.

oleo
14-07-2006, 18:36
maybe libgd was upgraded and php was not

greengreen
02-08-2006, 18:32
Hi,nobody knows how to fix it?I have the same problem:(

oleo
02-08-2006, 23:12
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.

greengreen
03-08-2006, 21:01
thx but the result is same :(

oleo
04-08-2006, 12:24
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.

oleo
04-08-2006, 13:31
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


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

ipkg install *.ipk

I suggest clean /opt for this purpose.