mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
php: add opcache extension to PACKAGECONFIG
OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request [1]. Add an option to enable opcache in php. AC_CHECK_FUNC isn't suitable for a cross-compile environment, so pass the configure options instead to force dlopen detection that is necessary to have extension support enabled. On a standard phpbench test, I see a performance improvement of > 40%. [1] http://php.net/manual/en/book.opcache.php Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
1816eb7779
commit
0d052a48c9
@@ -9,6 +9,7 @@ SRC_URI += "file://change-AC_TRY_RUN-to-AC_TRY_LINK.patch \
|
||||
SRC_URI_append_class-target = " \
|
||||
file://pear-makefile.patch \
|
||||
file://phar-makefile.patch \
|
||||
file://0001-opcache-config.m4-enable-opcache.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "864c64ffd2f1686b035ef8ce6a6d8478"
|
||||
|
||||
Reference in New Issue
Block a user