I've installed PHP7
, pear
and phpdocumentor
. Everything look good during the install but when I run phpdoc
I receive the following error.
PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: You have to enable opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in /usr/share/php/phpDocumentor/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193
PEAR Version: 1.10.1
PHP Version: 7.0.9-1+deb.sury.org~trusty+1
Zend Engine Version: 3.0.0
Running on: Linux kevin-lt 3.13.0-46-generic #76-Ubuntu SMP Thu Feb 26
18:52:13 UTC 2015 x86_64
phpDocumentor: 2.8.5
Anybody know how to fix this?