Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Disable asserts by default
Browse files Browse the repository at this point in the history
HHVM >= 3.12 enables asserts by default, which is what PHP does, but
previously it had them disabled by default. When oss-performance runs
against Mediawiki target it now fails for HHVM >= 3.12. At the client
side we get and "Internal server error": HTTP/1.1 500 hphp_invoke. At
the server side we get "Fatal error: assert() is not supported: assert
with strings argument in RepoAuthoritative mode in /<tmpdir>/mediawiki-
1.26.2/includes/parser/Preprocessor_Hash.php on line 485". Thus this
php.ini param. solves this issue by disabling asserts in repo-auth mode.
  • Loading branch information
Gustavo Romero committed Apr 15, 2016
1 parent 7c49112 commit 2749bd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ user_ini.filename=
realpath_cache_size=2M
cgi.check_shebang_line=0
date.timezone=America/Los_Angeles
assert.active=false

;;;;;;;;;;;;;
; HHVM Only ;
Expand Down

0 comments on commit 2749bd2

Please sign in to comment.