{"id":3617,"date":"2020-10-29T11:25:16","date_gmt":"2020-10-29T16:25:16","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3617"},"modified":"2020-10-29T11:28:14","modified_gmt":"2020-10-29T16:28:14","slug":"cannot-load-zend-opcache-it-was-already-loaded","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/cannot-load-zend-opcache-it-was-already-loaded\/","title":{"rendered":"Cannot load Zend OPcache &#8211; it was already loaded"},"content":{"rendered":"\n<p>Started getting the following error while running .\/validate.php for LibreNMS<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Cannot load Zend OPcache - it was already loaded<\/pre>\n\n\n\n<p>Looks like the problem arises out of PHP trying to load two ini files for OPcache.  Was trying to enable OPcache for LibreNMS so I created an opcache.ini file and put the settings in it.  I missed the default 10-opcache.ini file.<\/p>\n\n\n\n<p>Moving all the settings into the 10-opcache.ini file and deleting the created opcache.ini file resolved the issue for me.<\/p>\n\n\n\n<p><a href=\"https:\/\/unix.stackexchange.com\/questions\/253448\/php-7-install-throws-cannot-load-zend-opcache-it-was-already-loaded-error\/253484\">https:\/\/unix.stackexchange.com\/questions\/253448\/php-7-install-throws-cannot-load-zend-opcache-it-was-already-loaded-error\/253484<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Started getting the following error while running .\/validate.php for LibreNMS Cannot load Zend OPcache &#8211; it was already loaded Looks like the problem arises out of PHP trying to load two ini files for OPcache. Was trying to enable OPcache &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/cannot-load-zend-opcache-it-was-already-loaded\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,352],"tags":[17,7,1096,1097],"class_list":["post-3617","post","type-post","status-publish","format-standard","hentry","category-centos-linux","category-librenms","tag-centos","tag-linux-2","tag-opcache","tag-zend"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3617"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3617\/revisions"}],"predecessor-version":[{"id":3619,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3617\/revisions\/3619"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}