include_path ignored in /etc/hhvm/server.ini (hhvm 3.0.1)
I have include_path set in /etc/hhvm/server.ini, but it is being ignored. I straced hhvm during a pageload, and it tried to stat an included file in the current directory (which is not part of my include_path), then died with Fatal error: File not found: foo.php
On startup, hhvm does read server.ini.
The include_path in /etc/hhvm/php.ini is honored in command-line hhvm, seemingly just not in fastcgi server mode. I am using the Wheezy package.
(This was working in hhvm 2.3.2)
(cc @ptarjan)
i am also having this issue, i was trying to switch from .hdf files to server.ini and i ran into this trying to get my includes to work. I have include_path in both files and its not working, is there any work around for this?
A little update when using the following code
<?php
echo ini_get('include_path');
I get . with the include_path set in php.ini(also in server.ini), however it is properly populated when i use the following hdf directive
IncludeSearchPaths{
Does anybody perhaps have an update on this? I'am trying to test with this right now but our OpenId/OAuth implementation breaks because of this
This is fixed in the nightly and will go into release next thursday