-; Enable zendopcache zend extension module
-zend_extension=@extensiondir@/opcache.so
+; Enable opcache zend extension module
+zend_extension=opcache.so
; OPcache On/Off switch. When set to Off, code is not optimized.
; (default "1")
#Source0: https://downloads.php.net/~remi/php-%{version}%{subver}.tar.xz
Source0: https://downloads.php.net/~pollita/php-%{version}%{subver}.tar.xz
# Source0-md5: 43244f99613c6dc51a532b802cea17a8
+Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Source4: %{orgname}-apache.ini
done
}
generate_inifiles
+cp -p %{_sourcedir}/opcache.ini conf.d
# Check that the module inner-dependencies are intact
PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log