DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-08-02 09:52:51

vedeja
Member
Registered: 2008-02-21
Posts: 161

GD for ffp0.5 (for phpAlbum)

Can we get GD running for funplug 0.5? The goal is to start an instance of phpAlbum. Has anyone succeded with that (or perhaps another good photo album script)?


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#2 2008-08-02 12:16:11

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: GD for ffp0.5 (for phpAlbum)

vedeja wrote:

Can we get GD running for funplug 0.5? The goal is to start an instance of phpAlbum. Has anyone succeded with that (or perhaps another good photo album script)?

What exactly are you missing?

Code:

#  php -r "phpinfo();"
...
gd

GD Support => enabled
GD Version => bundled (2.0.34 compatible)
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled
...

Is GD loaded in your /ffp/etc/php.ini?

Code:

# cat /ffp/etc/php.ini 
[php]
extension=gd.so
...

Offline

 

#3 2008-08-02 19:07:14

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: GD for ffp0.5 (for phpAlbum)

fonz wrote:

Is GD loaded in your /ffp/etc/php.ini?

Turns out it wasn't. I have added the line but still no GD support. Do I need to restart something? (Have already restarted lighttpd)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#4 2008-08-02 19:19:05

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: GD for ffp0.5 (for phpAlbum)

vedeja wrote:

Turns out it wasn't. I have added the line but still no GD support. Do I need to restart something? (Have already restarted lighttpd)

Have you checked output of the 'php -i | grep GD' ? Also, post you complete /ffp/etc/php.ini (it's easy to get it wrong).

Code:

root@bob:~# php -i | grep GD
GD Support => enabled
GD Version => bundled (2.0.34 compatible)

Offline

 

#5 2008-08-02 20:36:38

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: GD for ffp0.5 (for phpAlbum)

Code:

 # php -i | grep GD
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/gd.so' - File not found in Unknown on line 0

Code:

[PHP]
extension=gd.so
extension=pdo.so
extension=sqlite.so

;Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off

¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#6 2008-08-02 21:33:28

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: GD for ffp0.5 (for phpAlbum)

vedeja wrote:

Code:

 # php -i | grep GD
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/gd.so' - File not found in Unknown on line 0

Which php package are you using?

Offline

 

#7 2008-08-02 22:43:03

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: GD for ffp0.5 (for phpAlbum)

fonz wrote:

Which php package are you using?

php-5.2.6-2, straight off of your your packages web.

Last edited by vedeja (2008-08-02 22:43:17)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#8 2008-08-02 22:55:44

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: GD for ffp0.5 (for phpAlbum)

vedeja wrote:

Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/gd.so' - File not found in Unknown on line 0

That file exists in my php package. Please check if it's really missing. If yes, reinstall the package 'funpkg -I php-5.2.6-2.tgz' (-I will reinstall an already installed package).

PS: php also requires libjpeg and libpng packages. Did you install them, too?

Offline

 

#9 2008-08-02 23:16:33

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: GD for ffp0.5 (for phpAlbum)

fonz wrote:

PS: php also requires libjpeg and libpng packages. Did you install them, too?

No... That solved it! Thanks again, fonz man.

Code:

# php -i | grep GD
GD Support => enabled
GD Version => bundled (2.0.34 compatible)

Last edited by vedeja (2008-08-02 23:17:12)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#10 2008-08-15 19:24:10

difdiffer
New member
Registered: 2008-08-15
Posts: 4

Re: GD for ffp0.5 (for phpAlbum)

I have the same gd.so problem with funplug 0.5

I have installed both the libjpeg and the libpng packages:
funpkg -i libjpeg-6b-1.tgz
funpkg -i libpng-1.2.29-1.tgz

I have restarted lighttpd and even rebooted the NAS.

Still, output of php -v is:
root@V-storage1:/mnt/HD_a2/packages# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/mnt/HD_a2/ffp/lib/php/extensions/gd.so
- File not found in Unknown on line 0
PHP 5.2.6 (cli) (built: Jun 26 2008 15:20:46)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies


Can you help with what to do next please.

P.S. I have installed
php-5.2.6-mysql-3.tgz from here:http://81.216.140.39/dns-323/mysql_and_php/

Last edited by difdiffer (2008-08-15 20:08:57)

Offline

 

#11 2008-08-15 20:15:21

difdiffer
New member
Registered: 2008-08-15
Posts: 4

Re: GD for ffp0.5 (for phpAlbum)

I have found the solution!! Yohoo:

GD is defective, you can download it from here:
Code:

wget http://wolf-u.li/download-manager.php?id=30 -O /ffp/lib/php/extensions/no-debug-non-zts-20060613/gd.so
wget http://wolf-u.li/download-manager.php?id=31 -O /ffp/lib/php/extensions/no-debug-non-zts-20060613/gd.a

Then restart lighttpd.

Taken from: http://dns323.kood.org/forum/t2738-DNS- … ttext.html

Offline

 

#12 2008-08-23 13:19:31

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: GD for ffp0.5 (for phpAlbum)

I have a second DNS where I am trying to get GD going. Only now I have no php package installed. Only what was included with lighttpd in ffp 0.5. Where is php.ini located in this case?

Last edited by vedeja (2008-08-23 13:19:57)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#13 2008-08-24 17:59:33

Pejn
Member
Registered: 2007-12-17
Posts: 61

Re: GD for ffp0.5 (for phpAlbum)

i downloaded mine from http://81.216.140.39/dns-323/mysql_and_php/ and put it in ffp/etc or you can edit the one in ffp/etc/examples i guess

Offline

 

#14 2011-05-26 12:54:47

feel2006
New member
Registered: 2011-05-26
Posts: 1

Re: GD for ffp0.5 (for phpAlbum)

I want to run a php album on the nas.
I checked the previous posts, but I still do not work with GD.

Help me please.

"root@Zsolti_Nas:~# php -i | grep GD
PHP Warning:  PHP Startup: Unable to load dynamic library './gd.so' - File not found in Unknown on line 0"

I have installed it and it works:
php-5.2.9-1.tgz

And installed under the previous comments
libjpeg-6b.tgz
libpng-1.2.18.tgz
gd-2.0.35-1.tgz

but it still does not work GD

thanks

Offline

 

#15 2011-05-26 13:34:39

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: GD for ffp0.5 (for phpAlbum)

Where did you get the GD package from? Did you see post #10 and #11?


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB