• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Unable to load dynamic library

mavera2

Basic Pleskian
I know that this error is asked million times in forum: https://www.google.com/search?q=site:forum.parallels.com+Unable+to+load+dynamic+library
But I couldn't find the solution. I get warning for "apc.so".
I want to prevent this warning.
I don't want to install APC module.

[root@host php.d]# php -m | grep apc
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20090626/apc.so' - /usr/lib64/20090626/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0

[root@host php.d]# grep -r apc /etc/php.ini
[root@host php.d]#

[root@host php.d]# ls /etc/php.d
apc.ini dom.ini gd.ini ioncube.ini mbstring.ini mysql.ini pdo.ini pdo_sqlite.ini sqlite3.ini xmlreader.ini xsl.ini zip.ini
curl.ini fileinfo.ini imap.ini json.ini mysqli.ini newrelic.ini pdo_mysql.ini phar.ini wddx.ini xmlwriter.ini zend_extensions_psa.ini

[root@host php.d] # vi /etc/php.d/apc.ini
;extension=apc.so


So where does "apc.so" is run ?
I couldn't find what triggers this extension ?

(Plesk 11.5.30 #28, centos 6.3, PHP 5.4.23)
 
Last edited:
Through shell you can navigate to the php loaded modules folder. There you should find an apc.ini file with that record it. Just rename or delete it.
 
Back
Top