Dmitry Stogov
71ee641327
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
"opcache.validate_root" is useless on Windows
2016-11-16 23:19:56 +03:00
Dmitry Stogov
935d922114
"opcache.validate_root" is useless on Windows
2016-11-16 23:15:14 +03:00
Dmitry Stogov
8e350a627a
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Use full path
2016-11-16 23:05:00 +03:00
Dmitry Stogov
8202b97077
Use full path
2016-11-16 23:01:40 +03:00
Dmitry Stogov
a91f3d475e
Fixed ZTS build
2016-11-16 16:43:57 +03:00
Dmitry Stogov
a1a5b52f3b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #69090 (check cached files permissions)
2016-11-16 12:49:50 +03:00
Dmitry Stogov
ecba563f2f
Fixed bug #69090 (check cached files permissions)
2016-11-16 12:43:10 +03:00
Nikita Popov
bb3d0c0e17
Fcall optimization: Avoid FETCH_DIM_R with UNUSED op2
2016-11-10 21:36:46 +01:00
Xinchen Hui
af873d4788
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #73402 (Opcache segfault when using class constant to call a method)
Conflicts:
ext/opcache/Optimizer/zend_optimizer.c
2016-10-29 23:43:59 +08:00
Xinchen Hui
ef75ddd4f9
Fixed bug #73402 (Opcache segfault when using class constant to call a method)
2016-10-29 23:41:51 +08:00
Mitch Hagstrand
bcee2fdbec
Fixed bug in zend_accel_error() and cleaned up kill_all_lockers()
...
1. zend_accel_error was only executing clean up if log_verbosity_level is high enough to log
2. Cleaned up kill_all_lockers function and fixed comments.
2016-10-12 23:03:55 +02:00
Nikita Popov
e3c08de08a
Don't optimize (string) cast on arrays
...
Otherwise we throw a notice during pass1_5 optimization.
2016-09-09 16:38:26 +02:00
Nikita Popov
bbcf77c309
Fix some block_pass bugs
2016-09-09 15:58:36 +02:00
Keyur
0045d16863
Fixes #72590 : Opcache restart with kill_all_lockers does not work
...
ACCEL_LOG_ERROR is special and causes a zend_bailout() and the code
never gets to call kill() in the next line after the logging. Change
the log level to WARNING.
2016-09-05 16:59:28 +02:00
Xinchen Hui
1ee41683dc
Fixed bug #72982 (Memory leak in zend_accel_blacklist_update_regexp() function)
2016-09-01 12:10:38 +08:00
Dmitry Stogov
b66039db33
Fixed bug #72944 (Null pointer deref in zval_delref_p).
2016-08-29 12:02:50 +03:00
Christoph M. Becker
c4c3eb55a7
Fix #72949 : Typo in opcache error message
2016-08-26 18:50:30 +02:00
Keyur
b512f4a956
Fixes #72590 : Opcache restart with kill_all_lockers does not work
...
ACCEL_LOG_ERROR is special and causes a zend_bailout() and the code
never gets to call kill() in the next line after the logging. Change
the log level to WARNING.
2016-07-13 03:01:26 +00:00
Xinchen Hui
de7a6b1232
MFH: Fixed fd leak (the origin commit can not be cherry-picked)
2016-06-28 11:36:27 +08:00
Xinchen Hui
53de1c2830
Fixed format
2016-06-24 21:13:04 +08:00
Dmitry Stogov
d41920c57d
Use PHP_VERSION as OPcahce version
2016-05-17 17:16:10 +03:00
Dmitry Stogov
f7372f648f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
The "flock" structure has to be writable on AIX.
2016-05-10 17:53:33 +03:00
Dmitry Stogov
90f43caf5b
The "flock" structure has to be writable on AIX.
2016-05-10 17:50:14 +03:00
Nikita Popov
0691e7a8e1
Fix JMPZ, JMPZNZ_EX chain optimization
...
The result_type was not copied, resulting in a corrupted JMPZ_EX.
Fix can be verified by inspecting the opcodes of the following
function (it should not contain any _EX opcodes):
function test() {
if ($a && $b) {
echo "a";
}
if ($b || $c || $d) {
echo "b";
}
}
Conflicts:
ext/opcache/Optimizer/block_pass.c
2016-05-05 00:00:56 +02:00
Xinchen Hui
8a17b1a241
Fixed bug #72014 (Including a file with anonymous classes multiple times leads to fatal error)
2016-04-14 20:21:19 +08:00
Xinchen Hui
9458f54969
This only make sense on *nix
2016-04-12 15:31:21 +08:00
Lior Kaplan
c6c44c3629
Enable configure without opcache-file and huge-code-pages
...
This doesn't chagne the default (yes for both features), but respects
--disable-opcache-file and --disable-huge-code-pages configure flags if given.
2016-04-09 15:57:57 +03:00
Lior Kaplan
403c3f95fe
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
opcache config.m4: Use = for comparison
2016-04-09 01:35:30 +03:00
Lior Kaplan
c1f597d9a1
opcache config.m4: Use = for comparison
2016-04-08 22:38:07 +03:00
Fatih ACAR
d54eafb349
make opcache lockfile path configurable
...
Signed-off-by: William Dauchy <william@gandi.net>
Signed-off-by: Baptiste Daroussin <baptiste.daroussin@gandi.net>
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>
2016-04-06 13:29:52 +02:00
Xinchen Hui
93499bfd8a
Fixed test & ZEND_BOOL should result TMP_VAR
2016-03-17 07:55:25 -07:00
Xinchen Hui
aef22ac1c1
Remove unnecessary pattern
2016-03-17 20:21:36 +08:00
Xinchen Hui
041a01fd6c
Fixed for PHP7
2016-03-17 20:20:01 +08:00
Xinchen Hui
820b0aa2ab
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER)
2016-03-17 19:54:33 +08:00
Xinchen Hui
8e2f658f49
Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER)
2016-03-17 19:54:19 +08:00
Nikita Popov
1ac152938c
Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE
...
Also re bug #71575 .
2016-03-03 16:50:01 +01:00
Xinchen Hui
9fc0517328
Fixed another segfault with file_cache_only now
2016-03-01 10:50:56 +08:00
Anatol Belski
f738abab85
test fixes
2016-02-28 11:53:21 +01:00
Xinchen Hui
8c053d44e4
Fixed segfault with file_cache_only
2016-02-28 11:50:06 +08:00
Dmitry Stogov
6842a3674d
Fixed possible crash at PCRE on MSHUTDOWN
2016-02-24 23:46:11 +03:00
Dmitry Stogov
43366f8ba8
Fixed more synchronisation issues during SHM reload
2016-02-24 21:15:53 +03:00
Dmitry Stogov
796e1629b0
Set proper type flags (REFCOUNTED and COPYABLE) according to interned or regular string
2016-02-18 23:15:38 +03:00
Dmitry Stogov
d228752939
Fixed process synchronisation problem, that may cause crashes after opcache restart
2016-02-17 13:58:05 +03:00
Dmitry Stogov
388ab976b5
Fixed possible memory leak
2016-02-15 16:40:05 +03:00
Xinchen Hui
8974e4c781
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update NEWS: "Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache)"
Fix use-after-free of ZCG(cwd) in Zend Optimizer
Conflicts:
ext/opcache/ZendAccelerator.c
2016-02-15 10:32:50 +08:00
Yussuf Khalil
35f6f9b0db
Fix use-after-free of ZCG(cwd) in Zend Optimizer
2016-02-10 10:33:57 +01:00
Guillaume Outters
d01566fe2f
opcache config.m4: Use = for comparison
...
HAVE_OPCACHE_FILE_CACHE and HAVE_HUGE_CODE_PAGES where not
correctly set on old systems (e.g. FreeBSD 8), due to a PHPism in
config.m4. Using the standard shell operator = instead of == makes
the configure script produce the correct output.
2016-01-29 17:02:21 +01:00
Xinchen Hui
bdbb32158c
Added test for bug #71443
2016-01-26 15:59:18 +08:00
Xinchen Hui
9ff08ae17c
Fixed bug #71443 (Segfault using built-in webserver with intl using symfony)
2016-01-26 15:57:39 +08:00
Anatol Belski
e72848c171
more informative error message for opcache fallback
2016-01-07 17:57:41 +01:00