You are not logged in.

#1 2010-12-23 13:21:19

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

php-5.3.4-2 no longer has pdo.so moudle, is this ok?

Hello,

I updated my php from php-5.3.4-1-i686.pkg.tar.xz to php-5.3.4-2-i686.pkg.tar.xz after words I started getting warnings about not being able to find pdo.so.

Is this ok? Should I do anything about it? I may not need it at all, but I thought I had to have it if I was using pdo_mysql.so.

Thank you for any information!

Extra info...

Warning I'm getting: (noticed when using zend tool zf)
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo.so' - /usr/lib/php/modules/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0

I checked the two pakages, and sure enough pdo.so is no longer their.

I read through the "PHP 5.3.4 Released!" announcement at www.php.net.
I read through the "PHP 5 ChangeLog" http://www.php.net/ChangeLog-5.php#5.3.4
I searched through the "Migrating from PHP 5.2.x to PHP 5.3.x" http://php.net/migration53

I missed anything specific to pdo.so.

Offline

#2 2010-12-23 19:01:28

m4co
Member
Registered: 2009-12-29
Posts: 117
Website

Re: php-5.3.4-2 no longer has pdo.so moudle, is this ok?

Same thing happens here.

And it also warns against "xsl":

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo.so' - /usr/lib/php/modules/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 '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP also delivered a new "php.ini" called "php.ini.pacnew".

Didn't update my php.ini yet but I guess this is not a problem..

EDIT: Checking /etc/php/php.ini.pacnew and there's no "pdo.so" in the extensions line, only pdo_mysql:

extension=pdo_mysql.so

So I guess you just have to comment that out.

'xsl.so' is still there tough...

Last edited by m4co (2010-12-23 19:08:58)


Don't panic !

Offline

#3 2010-12-23 20:08:00

MyLordAngus
Member
Registered: 2010-12-23
Posts: 10

Re: php-5.3.4-2 no longer has pdo.so moudle, is this ok?

I had the same things with pdo.so, so I commented the line in php.ini. However, I use xsl.so, and I don't have ane problem, the library is in /usr/lib/php/modules/. For that, I had to install the package php-xsl.

Offline

#4 2010-12-23 20:14:48

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: php-5.3.4-2 no longer has pdo.so moudle, is this ok?

PDO is no longer a shared module; it's compiled in. This was done to address https://bugs.archlinux.org/task/22072

Offline

#5 2010-12-24 02:10:44

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: php-5.3.4-2 no longer has pdo.so moudle, is this ok?

foutrelis wrote:

PDO is no longer a shared module; it's compiled in. This was done to address https://bugs.archlinux.org/task/22072

Ok, thank you, that would explain it. 

Rick

Offline

Board footer

Powered by FluxBB