Topic: php update issue on FC6 i386 box
I have updated most php-* packages to 5.3.2-1, but I'm getting this error:
yum upgrade php*
Loading "installonlyn" plugin
Setting up Upgrade Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-pdo.i386 0:5.3.2-1.fc6.remi set to be updated
--> Running transaction check
--> Processing Dependency: libsqlite.so.0 for package: php-pdo
--> Finished Dependency Resolution
Error: Missing Dependency: libsqlite.so.0 is needed by package php-pdo
I'm not sure of the best way to get libsqlite.so.0 on my system. I don't know if any of the following repos provide what I need (the only one i have enabled right now is Remi's repo--as you can see I disabled these because they weren't letting yum run):
[root@www yum.repos.d.disabled]# ls
atrpms.repo fedora-development.repo fedora-extras.repo fedora-updates.repo flash.repo git.repo kde-redhat.repo rpmforge.repo
fedora-core.repo fedora-extras-development.repo fedora-legacy.repo fedora-updates-testing.repo freshrpms.repo jpackage.repo livna.repo
I *know* i should update to something newer than FC6, and I'm awaiting the customer's decision on that. Right now I'd like to get the new version of PHP working well on this system.
php -v gives
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20050922
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_mysql.so' - /usr/lib/php/modules/pdo_mysql.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_odbc.so' - /usr/lib/php/modules/pdo_odbc.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_sqlite.so' - /usr/lib/php/modules/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
PHP 5.3.2 (cli) (built: Mar 4 2010 22:30:54)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
which, if I understand right, is because I haven't update php-pdo, because it depends on libsqlite.so.0
Thanks for any assistance!