This is it
Verified User
- Joined
- Feb 12, 2017
- Messages
- 27
I noticed when i disable Opcache in directadmin options, and services are restarted, opcache is still running. What to do?
extension=opcache.so
php --ini
Hello,
rebuild php or removefrom directadmin.iniCode:extension=opcache.so
checkto find its location.Code:php --ini
zend_extension=/usr/local/php70/lib/php/extensions/no-debug-non-zts-20151012/opcache.so
zend_extension=/usr/local/php71/lib/php/extensions/no-debug-non-zts-20160303/opcache.so
Unless you run CloudLinux with their PHP versions or PHP installed by rpm/deb packages... opcache is enabled by custombuild 2.x as an extension in 10-directadmin.ini. That's how things work with the default Directadmin installation, and if your case is different then you need investigate it yourself.
related: http://php.net/manual/en/opcache.installation.php