HomePhabricator

hhvm: fix include_path
8d5947395646Unpublished

Authored by hashar.

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

hhvm: fix include_path

The include_path PHP setting was incorrectly set under the 'hhvm.'
hierarchy which does not work:

$ grep include_path /etc/hhvm/php.ini
hhvm.include_path = .:/usr/share/php

$ hhvm -a
hphpd> print ini_get('include_path');
print ini_get('include_path');
"."

It needs to be include_path and the value enclosed in double quotes
and then:

$ grep include_path /etc/hhvm/php.ini
include_path = ".:/usr/share/php"

$ hhvm -a
hphpd> print ini_get('include_path');
print ini_get('include_path');
".:/usr/share/php"

That fix the PHPUnit tests for TimedMediaHandler MediaWiki extension
which uses include('PEAR.php').

Bug: T78556
Change-Id: I6084f49e97c855286b86dbbd6ce8e80e94069492

Details

Committed
oriDec 16 2014, 1:56 AM
Parents
rOPUP35d519854354: xenon: Tweak the text of the footer
Branches
Unknown
Tags
Unknown
References
refs/changes/74/179974/2
ChangeId
I6084f49e97c855286b86dbbd6ce8e80e94069492