PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite.so’ – /usr/lib64/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
Before:
[root@ns3 opt]# php -v >/dev/null
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite.so’ – /usr/lib64/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[root@ns3 opt]# find /usr -type f -name sqlite.so | xargs -I{} ls -l {}
-rwxr-xr-x 1 root root 368612 Jul 8 2011 /usr/lib/php/modules/sqlite.so
One needs to do it this way:
cd /opt wget http://autoinstall.pp.parallels.com/PSA_10.4.4/dist-rpm-RedHat-el5-x86_64/contrib/php53-sqlite2-5.3.2-11011812.x86_64.rpm rpm -e --nodeps php53-sqlite2-5.3.2-11070811.i386 rpm -i php53-sqlite2-5.3.2-11011812.x86_64.rpm