• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so'

Tom_H

New Pleskian
Hi,
I am troubleshooting a problem where the php5 package was replaced and caused lots of psa/plesk packages to be removed. This system details are;
# cat core.version
11.5.30 Ubuntu 12.04 115140407.17
# lsb_release -a
Description: Ubuntu 12.04.2 LTS
Codename: precise
# uname -a
Linux my.host.name 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

The plesk panel is up, the websites are running, and the email services are running, but there are many errors like so;

==> error.log <==
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0

I also get the following error when inspecting the json module;
root@vps:/etc/php5/mods-available# php -i|grep -i json
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
/etc/php5/cli/conf.d/20-json.ini,
json
json support => enabled
json version => 1.2.1

here are the php related modules;
root@vps:/etc/php5/mods-available# dpkg -l | grep php
ii libapache2-mod-php5 5.3.10-1ubuntu3.18 server-side, HTML-embedded scripting language (Apache 2 module)
ii php-pear 5.3.10-1ubuntu3.18 PEAR - PHP Extension and Application Repository
ii php5 5.3.10-1ubuntu3 server-side, HTML-embedded scripting language (metapackage)
ii php5-cgi 5.3.10-1ubuntu3.18 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.3.10-1ubuntu3.18 command-line interpreter for the php5 scripting language
ii php5-common 5.3.10-1ubuntu3.18 Common files for packages built from the php5 source
ii php5-curl 5.3.10-1ubuntu3.18 CURL module for php5
ii php5-dev 5.3.10-1ubuntu3.18 Files for PHP5 module development
ii php5-gd 5.3.10-1ubuntu3.18 GD module for php5
ii php5-imap 5.3.5-0ubuntu2 IMAP module for php5
ii php5-ioncube-loader 4.2.2-13072218 PHP ionCube Loader
ic php5-json 1.3.6-1+deb.sury.org~precise+1 JSON module for php5
ii php5-mcrypt 5.3.5-0ubuntu1 MCrypt module for php5
ii php5-mysql 5.3.10-1ubuntu3.18 MySQL module for php5
ii php5-sqlite 5.3.10-1ubuntu3.18 SQLite module for php5
ii php5-xcache 1.3.2-1 Fast, stable PHP opcode cacher
ii php5-xsl 5.3.10-1ubuntu3.18 XSL module for php5
ii psa-php5-configurator 1.6.3-ubuntu12.04.build115130724.18 Parallels Panel v1.6.3 configurator for php5
ii psa-phpmyadmin 4.1.12-ubuntu12.04.build115140407.17 MySQL web administration tool adapted for Parallels Panel
ii psa-phppgadmin 5.0.4-ubuntu12.04.build115130415.19 PostgreSQL web administration tool adapted for Parallels Panel
ii psa11-php-fakepackage 11.0.9-ubuntu12.04.build110120608.16 Parallels Panel fake php package




any suggestions on what I need to install to get that json.so file back?

Thanks,
Tom
 
also the psa packages installed are these;

root@vps:/etc/php5/mods-available# dpkg -l | grep psa
ii libapache2-mod-aclr2-psa 13012809-9e86c2f Module for Apache2 to automate serving static content with NGINX
ii libapache2-mod-fcgid-psa 2.3.9-14012812 Alternative FastCGI module for Apache2
ii libapache2-mod-rpaf-psa 0.6-13081317 Alternative RPAF module for Apache2
ii libapache2-mod-sysenv-psa 0.1-13072218 Parallels Panel mod_sysenv module for Apache2
ii psa 11.5.30-ubuntu12.04.build115130819.13 Parallels Panel v11.5.30 core files
ii psa-atmail 1:1.05-ubuntu12.04.build110120606.19 The @mail webmail adopted for Parallels Panel
ii psa-autoinstaller 3.15.15-130814.09 Parallels Products Installer
ii psa-awstats-configurator 11.0.9-ubuntu12.04.build110120606.19 Parallels Panel v11.0.9 awstats configurator
ii psa-courier-authlib 0.65.0-ubuntu12.04.build115130819.13 Courier authentication library
ii psa-courier-imap 4.12.0-ubuntu12.04.build115130805.16 Courier-IMAP v4.12.0 IMAP server
ii psa-horde 5.1.5-ubuntu12.04.build115131216.11 The Horde framework adopted for Parallels Panel
ii psa-imp 6.1.6-ubuntu12.04.build115131216.11 Web Based IMAP Mail Program for Parallels Panel
ii psa-ingo 3.1.3-ubuntu12.04.build115131216.11 The Horde email filter rules manager for Parallels Panel
ii psa-kav8 8.0.3-0.13051508 Kaspersky Anti-Virus for mailservers module for Parallels Panel
ii psa-kronolith 4.1.4-ubuntu12.04.build115131216.11 The Horde calendar application for Parallels Panel
ii psa-libxml-proxy 2.7.8-13012809 libxml-proxy to libxml2 with large lines number support
ii psa-locale-base-en-us 11.5.30-ubuntu12.04.build115130819.13 en-US locale (base) for Parallels Panel v 11.5.30
ii psa-logrotate 3.7-ubuntu12.04.build110120606.19 Rotates, compresses, removes and mails system log files.
ii psa-mail-driver-common 11.5.30-ubuntu12.04.build115130819.13 Parallels Panel v11.5.30 mail drivers common parts
ii psa-mimp 11.5.29-ubuntu12.04.build115130611.18 Parallels Panel mimp empty package for vz
ii psa-mnemo 4.1.2-ubuntu12.04.build115131216.11 The Horde notes and memos application for Parallels Panel
ii psa-passwd 5.0.1-ubuntu12.04.build115130916.13 Horde password changing application for Parallels Panel
ii psa-pear 1.9.4-20130517.13051715 PEAR - PHP Extension and Application Repository
ii psa-php5-configurator 1.6.3-ubuntu12.04.build115130724.18 Parallels Panel v1.6.3 configurator for php5
ii psa-phpmyadmin 4.1.12-ubuntu12.04.build115140407.17 MySQL web administration tool adapted for Parallels Panel
ii psa-phppgadmin 5.0.4-ubuntu12.04.build115130415.19 PostgreSQL web administration tool adapted for Parallels Panel
ii psa-proftpd 1.3.4c-ubuntu12.04.build115130528.15 ProFTPD -- Professional FTP Server.
ii psa-pylibplesk 11.5.30-ubuntu12.04.build115130819.13 Various Python modules used Parallels Panel v11.5.30
ii psa-spamassassin 11.5.30-ubuntu12.04.build115130819.13 Parallels Panel v11.5.30 SpamAssassin support
ii psa-spf2 1.2.9-12051716 library for validating mail senders with SPF
ii psa-turba 4.1.3-ubuntu12.04.build115131216.11 The Horde contact management application for Parallels Panel
ii psa-updates 11.5.30-ubuntu12.04.build115140925.15 Dependency package for Parallels Panel v11.5.30 updates
ii psa-vhost 11.5.30-ubuntu12.04.build115130618.12 Parallels Panel v11.5.30 default virtual host and files
ii psa-zendframework 1.11.15-ubuntu12.04.build115130403.19 PHP Zend Framework adapted for Parallels Panel
ii psa11-php-fakepackage 11.0.9-ubuntu12.04.build110120608.16 Parallels Panel fake php package
 
Hi Tom_H,

try to solve your issue with a re-install of the depending package:

sudo apt-get install --reinstall php5-json
 
Back
Top