1.3.2 does not work with HHVM 3.6.1
-
One more breakage with HHVM, this time due to HHVM bug. The fix (workaround) is as following;
in lrsync_rpc.php around line 180 replace rpc_presync with the below code:// Sync file function rpc_presync( $args ) { if ( !$user = $this->rpc_init_with( $args ) ) { return $this->error; } $max_execution_time = ini_get( 'max_execution_time' ) ? (int)ini_get( 'max_execution_time' ) : 30; $post_max_size = ini_get( 'post_max_size' ) ? (int)$this->parse_ini_size( ini_get( 'post_max_size' ) ) : (int)ini_get( 'hhvm.server.max_post_size' ); $upload_max_filesize = ini_get( 'upload_max_filesize' ) ? (int)$this->parse_ini_size( ini_get( 'upload_max_filesize' ) ) : (int)ini_get( 'hhvm.server.upload.upload_max_file_size' ); $presync = array( 'max_execution_time' => $max_execution_time, 'post_max_size' => $post_max_size, 'upload_max_filesize' => $upload_max_filesize, 'max_size' => min( $post_max_size, $upload_max_filesize ) ); return $presync; }
maybe will help someone out there whole HHVM is broken.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘1.3.2 does not work with HHVM 3.6.1’ is closed to new replies.