How can I enable opcache in php 5.5 or later

Avatar
  • Answered
I have read that PHP 5.5 or greater includes the opcache extension. To enable opcache and provide setting I would need to modify my php.ini which includes providing the path to the extension. I have looked in the /opt/php(version)/lib/php/extensions folders and not been able to find opcache.

Could you direct me to the right folder or tell what I need to do to enable opcache for my site?
Avatar
IMH Support Agent 5
Hello openii5, Thank you for contacting us about enabling opcache. Yes, opcache is not included automatically in the PHP build, but if you are in VPS or Dedicated Hosting enviroment you can contact Live Support for assistance with your request. Best, Christopher M.