• 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

Resolved PHP -v reporting errors

lepe

Basic Pleskian
Hi

I dont know if it come from last Plesk Onyx 17.8.11 update but I have next errors:
[root@xxx php.d]# php -v
Failed loading /usr/lib64/php/modules/php_opcache.dll: /usr/lib64/php/modules/php_opcache.dll: cannot open shared object file: No such file or directory
PHP 7.1.17 (cli) (built: Apr 25 2018 08:30:10) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.3, Copyright (c) 2002-2017, by ionCube Ltd.
with Zend OPcache v7.1.17, Copyright (c) 1999-2018, by Zend Technologies


Do you know fix this error?

thank you very much
 
Last edited:
I checked much files and I dont find any file calling to php_opcache.dll

I dont understand why i get this error of php_opcache.dll because my 10-opcache.ini is calling correctly to zend_extension=opcache.so

best regards
 
.dll is a Windows library. It is strange to see this on Linux.
You run system php from OS vendor (not php from Plesk). Therefore you have to check php configs in /etc directory like

# grep -r php_opcache.dll /etc/php.d/*
 
Thank you very much IgorG.
Runing this code I found this call in /etc/php.d/zend_extensions_psa.ini:zend_extension=php_opcache.dll
Then I added ; and error was fixed ;)
 
Back
Top