Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I know that this error is asked million times: https://www.google.com/search?q=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 ?

(Server configuration:
Plesk 11.5.30 #28, centos 6.3, PHP 5.4.23)

share|improve this question
    
You're running Plesk. First contact Plesk support. –  Michael Hampton Jan 17 at 21:34
    
Have you looked in php.ini file for CLI mode? (php -i | grep php.ini) I've separate conf.d for CLI mode: /etc/php5/cli/conf.d/ –  Oleg Neumyvakin Jan 18 at 5:42
    
Inside "/etc/php.d" folder there is only "ini" files that I put in the question. There is no "cli" folder inside "/etc/php.d". Where should I look more ? CentOS 6.3. –  trante Jan 18 at 10:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.