Bom dia amigos,

Estou com um problema relacionado ao PHP com algumas extensões.
Tenho rodando a versão Debian 5.0.5 64bits com alguns scripts php que fazem
conexão com mysql e postgres.
Qdo rodo o script tenho as seguintes mensagens de erro:

PHP Warning:  PHP Startup: Unable to load dynamic library './mysql.so' -
./mysql.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './mysqli.so' -
./mysqli.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './pdo.so' -
./pdo.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './pdo_mysql.so' -
./pdo_mysql.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './pdo_pgsql.so' -
./pdo_pgsql.so: cannot open shared object file: No such file or directory in
Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library './pgsql.so' -
./pgsql.so: cannot open shared object file: No such file or directory in
Unknown on line 0

Tenho os seguintes pacotes instalados (todos por apt):
ii  libapache2-mod-php5                     5.2.6.dfsg.1-1+lenny8
server-side, HTML-embedded scripting language (Apache 2 module
ii  php-mail                                1.1.14-1+lenny1            PHP
PEAR module for sending email
ii  php-net-smtp                            1.3.1-1                    PHP
PEAR module implementing SMTP protocol
ii  php-net-socket                          1.0.8-2                    PHP
PEAR Network Socket Interface module
ii  php-pear                                5.2.6.dfsg.1-1+lenny8      PEAR
- PHP Extension and Application Repository
ii  php5                                    5.2.6.dfsg.1-1+lenny8
server-side, HTML-embedded scripting language (metapackage)
ii  php5-cli                                5.2.6.dfsg.1-1+lenny8
command-line interpreter for the php5 scripting language
ii  php5-common                             5.2.6.dfsg.1-1+lenny8
Common files for packages built from the php5 source
ii  php5-mysql                              5.2.6.dfsg.1-1+lenny8      MySQL
module for php5
ii  php5-pgsql                              5.2.6.dfsg.1-1+lenny8
PostgreSQL module for php5

As extensões estão ativas em /etc/php5/cli/conf.d/:
::::::::::::::
mysqli.ini
::::::::::::::
# configuration for php MySQL module
extension=mysqli.so

::::::::::::::
mysql.ini
::::::::::::::
# configuration for php MySQL module
extension=mysql.so

::::::::::::::
pdo.ini
::::::::::::::
# configuration for php PDO module
extension=pdo.so

::::::::::::::
pdo_mysql.ini
::::::::::::::
# configuration for php MySQL module
extension=pdo_mysql.so

::::::::::::::
pdo_pgsql.ini
::::::::::::::
# configuration for php PostgreSQL module
extension=pdo_pgsql.so

::::::::::::::
pgsql.ini
::::::::::::::
# configuration for php PostgreSQL module
extension=pgsql.so


Alguém saberia o que estou fazendo de errado ou se está faltando alguma
configuração para eu poder rodar o script?

Obrigado.

-- 
[.]´s
..:: S.e.r.i.a.L ::..

Responder a