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 2011-11-13 00:32:36

SerpensAlatus
Member
Registered: 2011-11-13
Posts: 8

Problem with php-extensions

Hi!

I just setup the ligthhttpd with php and mysql.

Everythings works fine except the mysql extension of php.

i got the following Errors:

root@Server4:/mnt/HD/HD_a2/ffp/home/root# php -i|grep mysqli

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

The extensions are active in php.ini and the files are @ the right locations.

I installed the Server with Ulis Tutorial.

Anyone can help me?

Regards
Volker

Offline

 

#2 2011-11-13 14:55:06

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

Re: Problem with php-extensions

Maybe on or more dependencies are lacking? You can test that by

Code:

ldd /ffp/lib/php/extensions/no-debug-non-zts-20060613/mysql.so

Offline

 

#3 2011-11-13 15:26:32

SerpensAlatus
Member
Registered: 2011-11-13
Posts: 8

Re: Problem with php-extensions

Hi, looks like there is the Problem:

root@Server4:/mnt/HD/HD_a2# ldd /ffp/lib/php/extensions/no-debug-non-zts-20060613/mysql.so
checking sub-depends for 'not found'
checking sub-depends for '/ffp/lib/libc.so.0'
        libmysqlclient.so.16 => not found (0x00000000)
        libc.so.0 => /ffp/lib/libc.so.0 (0x00000000)
        /ffp/lib/ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x00000000)

Hm, it says "not found". But mysql.so is in that directory.

Testet the dependencies with calendar.so, also in the same directory:

root@Server4:/mnt/HD/HD_a2# ldd /ffp/lib/php/extensions/no-debug-non-zts-20060613/calendar.so
checking sub-depends for '/ffp/lib/libc.so.0'
        libc.so.0 => /ffp/lib/libc.so.0 (0x00000000)
        /ffp/lib/ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x00000000)
root@Server4:/mnt/HD/HD_a2#

Looks ok.


Do you have a suggestion?

Regards and TY!

Volker

Last edited by SerpensAlatus (2011-11-13 15:36:36)

Offline

 

#4 2011-11-13 16:22:50

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

Re: Problem with php-extensions

libmysqlclient.so.16 => not found (0x00000000)

Do you have that file?

Offline

 

#5 2011-11-13 16:25:45

SerpensAlatus
Member
Registered: 2011-11-13
Posts: 8

Re: Problem with php-extensions

No, i dont.

But if you read the first entry:

ldd /ffp/lib/php/extensions/no-debug-non-zts-20060613/mysql.so
checking sub-depends for 'not found'

The system does not find the mysql.so itself?

Last edited by SerpensAlatus (2011-11-13 16:25:58)

Offline

 

#6 2011-11-13 16:44:53

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

Re: Problem with php-extensions

No, it cannot find one of it's dependencies. I don't know why it doesn't know it's name.

Offline

 

#7 2011-11-13 16:46:27

SerpensAlatus
Member
Registered: 2011-11-13
Posts: 8

Re: Problem with php-extensions

Okey, where can i get this file? I installed everything from fun_plug incl. the additionals from Uli.

Offline

 

#8 2011-11-13 19:11:12

SerpensAlatus
Member
Registered: 2011-11-13
Posts: 8

Re: Problem with php-extensions

I reinstalled fun_plug.

Now its working!

TY for your help!

Regards
Volker

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB