summaryrefslogtreecommitdiffstats
path: root/preload.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-10-23 09:03:08 +0200
committerRemi Collet <remi@remirepo.net>2019-10-23 09:03:08 +0200
commit175e158863e621bc269e64cd739b4d8462354eab (patch)
treea74ac0e73ad3190f5dbdb9a99142c0ee3e5b2d35 /preload.php
parent8216eb1b5a4a80e804e56185d5c433443943a929 (diff)
FFI::load() doesn't work in conjunction with "opcache.preload_user". Use "ffi.preload" instead.
Diffstat (limited to 'preload.php')
-rw-r--r--preload.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/preload.php b/preload.php
index 1af70d6..d442e15 100644
--- a/preload.php
+++ b/preload.php
@@ -1,7 +1,4 @@
<?php
-foreach (glob(__DIR__ . '/preload-*.h') as $f) {
- \FFI::load($f);
-}
foreach (glob(__DIR__ . '/preload-*.inc') as $f) {
opcache_compile_file($f);
}