• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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