Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
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)?
Offline
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?
# 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?
# cat /ffp/etc/php.ini [php] extension=gd.so ...
Offline
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)
Offline
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).
root@bob:~# php -i | grep GD GD Support => enabled GD Version => bundled (2.0.34 compatible)
Offline
# 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
[PHP] extension=gd.so extension=pdo.so extension=sqlite.so ;Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off
Offline
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
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)
Offline
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
fonz wrote:
PS: php also requires libjpeg and libpng packages. Did you install them, too?
No... That solved it! Thanks again, fonz man.
# php -i | grep GD GD Support => enabled GD Version => bundled (2.0.34 compatible)
Last edited by vedeja (2008-08-02 23:17:12)
Offline
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
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
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)
Offline
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
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
Where did you get the GD package from? Did you see post #10 and #11?
Offline