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 2013-04-02 15:34:04

Riduidel
Member
Registered: 2013-04-02
Posts: 5

Unable to have gd running with PHP 5.4 on ffp 0.7

Hi all,
i recently upgraded my fellow DNS-323 to ffp 0.7, in order to benefit from more recent tools (one of them being PHP 5.4).

So, once the upgrade was done, I did a

Code:

slacker -Ua

and installed

Code:

memiks:php-5.4.11-oarm-1.txz

.

Unfortunatly, each time I try to check if GD is correctly installed, using as an example

Code:

root@dlink-6A4EB1:~# php -i | grep gd
[b]
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/gd.so' - File not found in Unknown on line 0[/b]
Configure Command =>  './configure'  '--prefix=/ffp' '--build=arm-ffp-linux-uclibc' '--host=arm-ffp-linux-uclibc' '--mandir=/ffp/share/man' '--infodir=/ffp/share/info' '--disable-nls' '--with-config-file-path=/ffp/etc' '--enable-shared=yes' '--enable-static=no' '--with-gnu-ld' '--with-pic' '--enable-fastcgi' '--enable-force-cgi-redirect' '--enable-spl' '--enable-hash' '--enable-session' '--with-pcre-regex' '--enable-zip' '--enable-posix' '--enable-sockets' '--enable-sysvsem' '--enable-calendar=shared' '--enable-ctype=shared' '--enable-xml' '--with-libxml-dir=/ffp' '--with-xml' '--enable-libxml' '--enable-simplexml' '--enable-soap' '--enable-mbstring=shared' '--enable-mbregex' '--enable-pdo=shared' '--without-sqlite' '--with-sqlite3=shared' '--with-pdo-sqlite=shared,/ffp' '--with-mysql=shared,/ffp' '--with-pdo-mysql=shared,/ffp' '--with-mysql-sock=/ffp/var/run/mysql' '--enable-tokenizer=shared' '--with-zlib=shared' '--with-zlib-dir=/ffp' '--with-openssl=/ffp' '--enable-pcntl' '--enable-sigchild' '--enable-ftp=shared' '--with-gd=shared' '--with-curl=/ffp' '--with-curlwrappers' '--with-jpeg-dir=/ffp' '--with-png-dir=/ffp' '--with-bz2=/ffp' '--with-iconv=/ffp'

which indicates, to my mind, that gd.so isn't loaded.

However, a quick look at my php.ini reveals I load the following extensions

Code:

extension=calendar.so
extension=ctype.so
extension=ftp.so
extension=gd.so
extension=mbstring.so
extension=pdo.so
extension=pdo_sqlite.so
;extension=sqlite3.so
extension=tokenizer.so
extension=zlib.so

If my libraries failed to load, i would get that "Unable to load dynamic library ..." message for each of them, no ?

So I have to admit there is a bug in my php install.
From what I understand, gd.so has dependencies to libpng and libjpeg. On my NAS they are the

Code:

libjpeg-8c-oarm-2
libpng-1.5.8-oarm-1

(as given by a call to

Code:

slacker -r

)
I don't know if it may help, but I also have a

Code:

libgd-2.0.33-oarm-1

installed.

So considering all those elements, how can I have a php environment that allow me to play with images ?

Thanks anyway for all the tremendous already made.

Offline

 

#2 2013-04-04 12:56:06

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Do you have FFP OABI or EABI ?

I currently running PHP 5.4.11 with gd extension on EABI without issue :

Code:

php -v
PHP 5.4.11 (cli) (built: Feb  7 2013 18:10:03)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

I will check if I installed libgd on OABI compilation environment before compile php 5.4.11.... hmm

Memiks.

Offline

 

#3 2013-04-04 13:17:46

Riduidel
Member
Registered: 2013-04-02
Posts: 5

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Well ... I think i use OABI, since I'm on a DNS-323. My hints for that are in my /ff/etc/funokg/sites file :

Code:

fonz    rsync://ffp.inreto.de/ffp/0.7/oabi/packages
mz      http://downloads.zyxel.nas-central.org/Users/Mijzelf/FFP-Stick/packages/0.7/oabi
memiks  http://ffp.memiks.fr/pkg/oarm/
uli     rsync://funplug.wolf-u.li/funplug/0.7/oabi/packages
kylek   http://kylek.is-a-geek.org:31337/files/ffp/0.7-oabi

Mmh ... wait a minute ... Is it to say I use oarm only for your site ? And does it mean changing that could foix all my issues ? Let's try it NOW !

oh wait .. You don't have any OABI package folder ? Or should i use the root one ? I'm really sorry to ask such stupid questions.

Thanks anyway for your support.

Offline

 

#4 2013-04-04 14:02:23

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

How no oarm repository is my oabi one :x I made it before ffp oabi creation and never change the name, just replace packages... so packages is for ffp oabi ...

I think it was an error in my php package... hmm

Offline

 

#5 2013-04-04 14:56:30

Riduidel
Member
Registered: 2013-04-02
Posts: 5

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

So ... I take my PHP from your OARM/OABI version, ok ?

And the call you gave upper echoes as

Code:

root@dlink-6A4EB1:~# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/gd.so' - File not found in Unknown on line 0
PHP 5.4.11 (cli) (built: Feb 11 2013 23:23:13)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

now what can I do ? Revert to fonz PHP version (which doesn't seems to be compatible with sqlite) ?

Offline

 

#6 2013-04-05 14:56:25

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Ok I currently recompile package to test if extensions is correctly built or not...

I will give you a feedback asap.

Fred.

Offline

 

#7 2013-04-12 00:05:58

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Hi,

I have the same error and additional two...

Code:

[root@nas-dns-343 start]# php -v

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

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - File not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/mysql.so' - File not found in Unknown on line 0
PHP 5.4.11 (cli) (built: Feb  7 2013 18:10:03) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Last edited by Stranger (2013-04-12 00:07:23)


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

#8 2013-04-12 16:38:34

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

I currently try to compile a new package but I have an issue on :

Code:

ext/standard/.libs/php_crypt_r.o: In function `_crypt_extended_init_r':
/tmp/php.f3lJ9I/php-5.4.13/ext/standard/php_crypt_r.c:101: undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

I investigate why...

Fred.

Offline

 

#9 2013-04-13 18:16:30

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

I have had that problem also, a time ago. It has to do with a gcc bug. The __sync_* functions should not be used on oabi, or something like that. When you can configure the package to use libpthread that might solve the problem.

Offline

 

#10 2013-04-15 09:45:55

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Mijzelf wrote:

I have had that problem also, a time ago. It has to do with a gcc bug. The __sync_* functions should not be used on oabi, or something like that. When you can configure the package to use libpthread that might solve the problem.

Thanks a lot Mijzelf I will try this tricks wink Thanks.

Memiks.

Offline

 

#11 2013-04-16 12:09:42

Riduidel
Member
Registered: 2013-04-02
Posts: 5

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Ok, after a detailled comparison between my install and memiks one, we found out that php 5.4 can't work on DNS-323 if libjpeg-turbo isn't installed.
I repeat

PHP 5.4.11 and 5.4.13 both require

* libjpeg
* libpng
* libgd
* libjpeg-turbo ! (this one can be found on Uli repo).

With those dependencies installed, php gd works OK !


I would really like to thank all of you forum members for your help, and especially memiks which did an awesome support by mail.

Offline

 

#12 2013-04-17 07:52:30

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Urah!!!

It works for uli:php-5.4.10-arm-2, but does not work for memiks:php-5.4.11-arm-1 and memiks:php-5.5.0beta3-arm-1

Thanks a lot, guys. You are really Pros.

---
# php -v
PHP 5.4.10 (cli) (built: Dec 31 2012 20:34:12)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
---
# php -v

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

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - File not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/mysql.so' - File not found in Unknown on line 0
PHP 5.4.11 (cli) (built: Feb  7 2013 18:10:03)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
---
# php -v

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

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20121212/pdo_mysql.so' - File not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20121212/mysql.so' - File not found in Unknown on line 0
PHP 5.5.0beta3 (cli) (built: Apr 16 2013 19:16:59)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0-dev, Copyright (c) 1998-2013 Zend Technologies

Last edited by Stranger (2013-04-17 07:57:31)


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

#13 2013-04-17 09:30:52

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Stranger wrote:

Urah!!!

It works for uli:php-5.4.10-arm-2, but does not work for memiks:php-5.4.11-arm-1 and memiks:php-5.5.0beta3-arm-1

Thanks a lot, guys. You are really Pros.

Ok it works on oabi/oarm and not on eabi/arm... I will check which librairies I have installed on EABI environment... hmm

thanks for the feekbacks wink

EDIT: Ok I have these librairies installed :

Code:

I libpng s:libpng-1.4.7-arm-1.txz
I libgd memiks:libgd-2.0.33-arm-1.txz
I libjpeg s:libjpeg-8c-arm-1.txz
I libjpeg-turbo uli:libjpeg-turbo-1.2.0-arm-1.txz

Could you please give me output of theses lines:

Code:

slacker -ac png | grep I
slacker -ac gd | grep I
slacker -ac jpeg | grep I

With your help I will investigate why gd not works....

Thanks a lot.
Fred.

Last edited by memiks (2013-04-17 09:48:53)

Offline

 

#14 2013-04-20 10:57:15

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Code:

[root@nas-dns-343]# slacker -ac png | grep I
I libpng libpng-1.5.13-arm-1 libpng-1.5.13-arm-1 uli:libpng-1.5.13-arm-1.txz
[root@nas-dns-343]# slacker -ac gd | grep I
I libgd libgd-2.0.33-arm-1 libgd-2.0.33-arm-1 memiks:libgd-2.0.33-arm-1.txz
[root@nas-dns-343]# slacker -ac jpeg | grep I
I libjpeg libjpeg-8c-arm-1 libjpeg-8c-arm-1 s:libjpeg-8c-arm-1.txz
I libjpeg-turbo libjpeg-turbo-1.2.0-arm-1 libjpeg-turbo-1.2.0-arm-1 uli:libjpeg-turbo-1.2.0-arm-1.txz

I can align my environment to your one and check all the versions of php

Stranger

Last edited by Stranger (2013-04-20 19:38:13)


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

#15 2013-04-20 11:50:19

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

I have checked libpng:

1. libpng-1.4.7-arm-1
php 5.4.10 does not work:

Code:

[root@nas-dns-343 start]# slacker -ac png | grep I
I libpng libpng-1.4.7-arm-1 libpng-1.4.7-arm-1 s:libpng-1.4.7-arm-1.txz
[root@nas-dns-343 start]# php -v

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/gd.so' - File not found in Unknown on line 0
PHP 5.4.10 (cli) (built: Dec 31 2012 20:34:12) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

php 5.4.11 works:

Code:

[root@nas-dns-343 start]# php -v

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - File not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/mysql.so' - File not found in Unknown on line 0
PHP 5.4.11 (cli) (built: Feb  7 2013 18:10:03) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

5.5.0beta3 works:

Code:

[root@nas-dns-343 start]# php -v

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20121212/pdo_mysql.so' - File not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20121212/mysql.so' - File not found in Unknown on line 0
PHP 5.5.0beta3 (cli) (built: Apr 16 2013 19:16:59) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0-dev, Copyright (c) 1998-2013 Zend Technologies

2. libpng-1.5.13
php-5.4.10 works:

Code:

[root@nas-dns-343 start]# php -v
PHP 5.4.10 (cli) (built: Dec 31 2012 20:34:12) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

php-5.4.11 and php-5.5.0beta3 do not work

Code:

# php -v

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

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - File not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20100525/mysql.so' - File not found in Unknown on line 0
PHP 5.4.11 (cli) (built: Feb  7 2013 18:10:03) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Code:

# php -v

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

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20121212/pdo_mysql.so' - File not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20121212/mysql.so' - File not found in Unknown on line 0
PHP 5.5.0beta3 (cli) (built: Apr 16 2013 19:16:59) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0-dev, Copyright (c) 1998-2013 Zend Technologies

So, the problem is somewhere inside incompatible packages

==============
but how to be with other errors:

Code:

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20121212/pdo_mysql.so' - File not found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20121212/mysql.so' - File not found in Unknown on line 0

Last edited by Stranger (2013-04-22 18:19:57)


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

#16 2013-04-22 05:13:04

mc_365
Member
Registered: 2012-10-27
Posts: 17

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Thanks guys, this info helped me get lighttpd running again on my setup.
I had a bad combination of packages.

http://dns323.kood.org/forum/viewtopic.php?id=7259

Offline

 

#17 2013-04-22 18:18:24

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

mc_365 wrote:

Thanks guys, this info helped me get lighttpd running again on my setup.
I had a bad combination of packages.

http://dns323.kood.org/forum/viewtopic.php?id=7259

you are welcome smile


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

#18 2013-04-23 09:29:32

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Hello I just update php 5.4.11 arm with png 1.5.13

could you please test again ?

Memiks.

Offline

 

#19 2013-04-24 00:25:16

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: Unable to have gd running with PHP 5.4 on ffp 0.7

Code:

[root@nas-dns-343 start]# slacker -ac png | grep I
I libpng libpng-1.5.13-arm-1 libpng-1.5.13-arm-1 uli:libpng-1.5.13-arm-1.txz

[root@nas-dns-343 start]# slacker -ac gd | grep I
I libgd libgd-2.0.33-arm-1 libgd-2.0.33-arm-1 memiks:libgd-2.0.33-arm-1.txz

[root@nas-dns-343 start]# slacker -ac jpeg | grep I
I libjpeg libjpeg-8c-arm-1 libjpeg-8c-arm-1 s:libjpeg-8c-arm-1.txz
I libjpeg-turbo libjpeg-turbo-1.2.0-arm-1 libjpeg-turbo-1.2.0-arm-1 uli:libjpeg-turbo-1.2.0-arm-1.txz

[root@nas-dns-343 start]# slacker -ac php | grep I
I php php-5.4.13-arm-1 php-5.4.13-arm-1 memiks:php-5.4.13-arm-1.txz

[root@nas-dns-343 start]# php -v
PHP 5.4.13 (cli) (built: Apr 22 2013 16:26:41) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
php: can't resolve symbol '_ZNSt14error_categoryD2Ev'

or with more details:

Code:

[root@nas-dns-343 start]# php -i
phpinfo()
PHP Version => 5.4.13

System => Linux nas-dns-343 2.6.22.7 #4 Fri Jan 22 11:02:54 CST 2010 armv5tejl
Build Date => Apr 22 2013 14:02:04
Configure Command =>  './configure'  '--prefix=/ffp' '--build=arm-ffp-linux-uclibcgnueabi' '--host=arm-ffp-linux-uclibcgnueabi' '--mandir=/ffp/share/man' '--infodir=/ffp/share/info' '--disable-nls' '--with-tsrm-pthreads' '--with-config-file-path=/ffp/etc' '--enable-shared=yes' '--enable-static=no' '--with-gnu-ld' '--with-pic' '--enable-fastcgi' '--enable-force-cgi-redirect' '--enable-spl' '--enable-exif' '--enable-hash' '--enable-session' '--with-pcre-regex' '--enable-zip' '--enable-posix' '--enable-sockets' '--enable-sysvsem' '--enable-calendar=shared' '--enable-ctype=shared' '--enable-xml' '--with-libxml-dir=/ffp' '--with-xml' '--enable-libxml' '--enable-simplexml' '--enable-soap' '--enable-mbstring=shared' '--enable-mbregex' '--enable-pdo=shared' '--without-sqlite' '--with-sqlite3=shared' '--with-pdo-sqlite=shared,/ffp' '--with-mysql=shared,/ffp' '--with-pdo-mysql=shared,/ffp' '--with-mysql-sock=/ffp/var/run/mysql' '--enable-tokenizer=shared' '--with-zlib=shared' '--with-zlib-dir=/ffp' '--with-openssl=/ffp' '--enable-pcntl' '--enable-sigchild' '--enable-ftp=shared' '--with-gd=shared' '--with-curl=/ffp' '--with-curlwrappers' '--with-jpeg-dir=/ffp' '--with-png-dir=/ffp' '--with-bz2=/ffp' '--with-iconv=/ffp'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /ffp/etc
Loaded Configuration File => /ffp/etc/php.ini
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20100412
PHP Extension => 20100525
Zend Extension => 220100525
Zend Extension Build => API220100525,NTS
PHP Extension Build => API20100525,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => disabled
IPv6 Support => enabled
DTrace Support => disabled

Registered PHP Streams => compress.bzip2, ftp, ftps, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp, compress.zlib, php, file, glob, data, zip, phar
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters => bzip2.*, convert.iconv.*, zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies


 _______________________________________________________________________


Configuration

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.6, 6-Sept-2010

Core

PHP Version => 5.4.13

Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => utf8 => utf8
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => On => On
doc_root => /mnt/HD_a2/www/pages => /mnt/HD_a2/www/pages
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => /mnt/HD_a2/www/logs/php_errors.log => /mnt/HD_a2/www/logs/php_errors.log
error_prepend_string => no value => no value
error_reporting => 32767 => 32767
exit_on_timeout => Off => Off
expose_php => On => On
extension_dir => /ffp/lib/php/extensions/no-debug-non-zts-20100525/ => /ffp/lib/php/extensions/no-debug-non-zts-20100525/
file_uploads => On => On
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/ffp/lib/php => .:/ffp/lib/php
log_errors => On => On
log_errors_max_len => 1024 => 1024
mail.add_x_header => On => On
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
memory_limit => 64M => 64M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 16K => 16K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => GP => GP
sendmail_from => no value => no value
sendmail_path =>  -t -i  =>  -t -i 
serialize_precision => 17 => 17
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => On => On
unserialize_callback_func => no value => no value
upload_max_filesize => 2047M => 2047M
upload_tmp_dir => /mnt/HD_a2/www/tmp => /mnt/HD_a2/www/tmp
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
zend.detect_unicode => On => On
zend.enable_gc => On => On
zend.multibyte => Off => Off
zend.script_encoding => no value => no value

ctype

ctype functions => enabled

curl

cURL support => enabled
cURL Information => 7.29.0
Age => 3
Features
AsynchDNS => No
Debug => No
GSS-Negotiate => No
IDN => No
IPv6 => Yes
Largefile => Yes
NTLM => Yes
SPNEGO => No
SSL => Yes
SSPI => No
krb4 => No
libz => Yes
CharConv => No
Protocols => file, ftp, ftps, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp
Host => armv5tel-unknown-linux-gnueabi
SSL Version => OpenSSL/1.0.1c
ZLib Version => 1.2.7

date

date/time support => enabled
"Olson" Timezone Database Version => 2012.10
Timezone Database => internal
Default timezone => Europe/Moscow

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => Europe/Moscow => Europe/Moscow

dom

DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.8.0
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled

ereg

Regex Library => Bundled library enabled

exif

EXIF Support => enabled
EXIF Version => 1.4 $Id$
Supported EXIF Version => 0220
Supported filetypes => JPEG,TIFF

Directive => Local Value => Master Value
exif.decode_jis_intel => JIS => JIS
exif.decode_jis_motorola => JIS => JIS
exif.decode_unicode_intel => UCS-2LE => UCS-2LE
exif.decode_unicode_motorola => UCS-2BE => UCS-2BE
exif.encode_jis => no value => no value
exif.encode_unicode => ISO-8859-15 => ISO-8859-15

fileinfo

fileinfo support => enabled
version => 1.0.5

filter

Input Validation and Filtering => enabled
Revision => $Id: 2aa8dd57d9c0c655cd45e6e5872bb95fa5ad76cf $

Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value

ftp

FTP support => enabled

gd

GD Support => enabled
GD Version => bundled (2.0.34 compatible)
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 6b
PNG Support => enabled
libPNG Version => 1.5.13
WBMP Support => enabled
XBM Support => enabled

Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1

hash

hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b fnv132 fnv164 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 

iconv

iconv support => enabled
iconv implementation => libiconv
iconv library version => 1.14

Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1

json

json support => enabled
json version => 1.2.1

libxml

libXML support => active
libXML Compiled Version => 2.8.0
libXML Loaded Version => 20800
libXML streams => enabled

mysql

MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 5.5.28
MYSQL_MODULE_TYPE => external
MYSQL_SOCKET => /ffp/var/run/mysql
MYSQL_INCLUDE => -I/ffp/include
MYSQL_LIBS => -L/ffp/lib -lmysqlclient 

Directive => Local Value => Master Value
mysql.allow_local_infile => On => On
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => 53306 => 53306
mysql.default_socket => /ffp/var/run/mysql/mysql.sock => /ffp/var/run/mysql/mysql.sock
mysql.default_user => root => root
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off

openssl

OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 1.0.1c 10 May 2012
OpenSSL Header Version => OpenSSL 1.0.1e 11 Feb 2013

pcntl

pcntl support => enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 8.31 2012-07-06

Directive => Local Value => Master Value
pcre.backtrack_limit => 1000000 => 1000000
pcre.recursion_limit => 100000 => 100000

PDO

PDO support => enabled
PDO drivers => mysql, sqlite

pdo_mysql

PDO Driver for MySQL => enabled
Client API version => 5.5.28

Directive => Local Value => Master Value
pdo_mysql.default_socket => /ffp/var/run/mysql/mysql.sock => /ffp/var/run/mysql/mysql.sock

pdo_sqlite

PDO Driver for SQLite 3.x => enabled
SQLite Library => 3.7.14.1

Phar

Phar: PHP Archive support => enabled
Phar EXT version => 2.0.1
Phar API version => 1.1.1
SVN revision => $Id: c5042cc34acebcc0926625b57dff03deebbe6472 $
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
gzip compression => enabled
bzip2 compression => enabled
OpenSSL support => enabled


Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive => Local Value => Master Value
phar.cache_list => no value => no value
phar.readonly => On => On
phar.require_hash => On => On

posix

Revision => $Id: 32db6705f5b617967a546be3114e178a4138c1ca $

Reflection

Reflection => enabled
Version => $Id: 25ecbad68e5a4573ffee43ea24a0591ea179492a $

session

Session Support => enabled
Registered save handlers => files user 
Registered serializer handlers => php php_binary 

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => /dev/urandom => /dev/urandom
session.entropy_length => 0 => 0
session.gc_divisor => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 5 => 5
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /mnt/HD_a2/.php_session/ => /mnt/HD_a2/.php_session/
session.serialize_handler => php => php
session.upload_progress.cleanup => On => On
session.upload_progress.enabled => On => On
session.upload_progress.freq => 1% => 1%
session.upload_progress.min_freq => 1 => 1
session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix => upload_progress_ => upload_progress_
session.use_cookies => On => On
session.use_only_cookies => On => On
session.use_trans_sid => 0 => 0

SimpleXML

Simplexml support => enabled
Revision => $Id: 692516840b2d7d6e7aedb0bedded1f53b764a99f $
Schema support => enabled

soap

Soap Client => enabled
Soap Server => enabled

Directive => Local Value => Master Value
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400

sockets

Sockets Support => enabled

SPL

SPL support => enabled
Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

sqlite3

SQLite3 support => enabled
SQLite3 module version => 0.7
SQLite Library => 3.7.7.1

Directive => Local Value => Master Value
sqlite3.extension_dir => no value => no value

standard

Dynamic Library Support => enabled
Path to sendmail =>  -t -i 

Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 380 => 380
from => no value => no value
url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry
user_agent => no value => no value

xml

XML Support => active
XML Namespace Support => active
libxml2 Version => 2.8.0

xmlreader

XMLReader => enabled

xmlwriter

XMLWriter => enabled

zip

Zip => enabled
Extension Version => $Id: 727cc853ca1ae15d995c3520c5719784ddc1e292 $
Zip version => 1.11.0
Libzip version => 0.10.1

zlib

ZLib Support => enabled
Stream Wrapper => compress.zlib://
Stream Filter => zlib.inflate, zlib.deflate
Compiled Version => 1.2.7
Linked Version => 1.2.7

Directive => Local Value => Master Value
zlib.output_compression => On => On
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value

Additional Modules

Module Name
sysvsem

Environment

Variable => Value
HOSTNAME => nas-dns-343
TERM => xterm-256color
SHELL => /ffp/bin/sh
HISTSIZE => 1000
SSH_CLIENT => 10.3.2.100 59721 53022
SSH_TTY => /dev/pts/0
HISTFILESIZE => 1000
USER => root
LS_COLORS => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:
PAGER => /ffp/bin/less 
MAIL => /var/mail/root
PATH => /ffp/sbin:/usr/sbin:/sbin:/ffp/bin:/usr/bin:/bin
INPUTRC => /ffp/etc/inputrc
PWD => /ffp/start
EDITOR => /ffp/bin/nano
LANG => en_US.UTF-8
DMALLOC_OPTIONS => debug=0x34f47d83,inter=100,log=logfile
PS1 => [\u@\h \W]\$ 
PS2 => > 
SHLVL => 1
HOME => /ffp/home/root
TERMINFO => /ffp/share/terminfo
LESS => -M
LOGNAME => root
SSH_CONNECTION => 10.3.2.100 59721 10.3.2.110 53022
_ => /ffp/bin/php
OLDPWD => /ffp/home/root

PHP Variables

Variable => Value
_SERVER["HOSTNAME"] => nas-dns-343
_SERVER["TERM"] => xterm-256color
_SERVER["SHELL"] => /ffp/bin/sh
_SERVER["HISTSIZE"] => 1000
_SERVER["SSH_CLIENT"] => 10.3.2.100 59721 53022
_SERVER["SSH_TTY"] => /dev/pts/0
_SERVER["HISTFILESIZE"] => 1000
_SERVER["USER"] => root
_SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:
_SERVER["PAGER"] => /ffp/bin/less 
_SERVER["MAIL"] => /var/mail/root
_SERVER["PATH"] => /ffp/sbin:/usr/sbin:/sbin:/ffp/bin:/usr/bin:/bin
_SERVER["INPUTRC"] => /ffp/etc/inputrc
_SERVER["PWD"] => /ffp/start
_SERVER["EDITOR"] => /ffp/bin/nano
_SERVER["LANG"] => en_US.UTF-8
_SERVER["DMALLOC_OPTIONS"] => debug=0x34f47d83,inter=100,log=logfile
_SERVER["PS1"] => [\u@\h \W]\$ 
_SERVER["PS2"] => > 
_SERVER["SHLVL"] => 1
_SERVER["HOME"] => /ffp/home/root
_SERVER["TERMINFO"] => /ffp/share/terminfo
_SERVER["LESS"] => -M
_SERVER["LOGNAME"] => root
_SERVER["SSH_CONNECTION"] => 10.3.2.100 59721 10.3.2.110 53022
_SERVER["_"] => /ffp/bin/php
_SERVER["OLDPWD"] => /ffp/home/root
_SERVER["PHP_SELF"] => 
_SERVER["SCRIPT_NAME"] => 
_SERVER["SCRIPT_FILENAME"] => 
_SERVER["PATH_TRANSLATED"] => 
_SERVER["DOCUMENT_ROOT"] => 
_SERVER["REQUEST_TIME_FLOAT"] => 1366752396.1093
_SERVER["REQUEST_TIME"] => 1366752396
_SERVER["argv"] => Array
(
)

_SERVER["argc"] => 0

PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file:  LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.
php: can't resolve symbol '_ZNSt14error_categoryD2Ev'

it's seemed all things work except some problems with licence?

Last edited by Stranger (2013-04-24 01:22:01)


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB