Composer not loading from php include dir |
Hi,
I've discovered that composer is not loading when my vendor directory is in one my php.ini include_paths. On line 173 of system/core/CodeIgniter.php there's the following... PHP Code: elseif (file_exists($composer_autoload)) ...but file_exists only looks in the current directory. Changing it to... PHP Code: elseif (stream_resolve_include_path($composer_autoload)) ...fixes the issue for me. stream_resolve_include_path is available from 5.3.2 and up. What's the minimum version of php supported? I don't see a list of minimum requirements as part of the installation instructions. |
Messages In This Thread |
Composer not loading from php include dir - by gdhnz - 06-15-2015, 05:35 PM
RE: Composer not loading from php include dir - by kenjis - 06-15-2015, 07:21 PM
RE: Composer not loading from php include dir - by gdhnz - 06-15-2015, 08:07 PM
RE: Composer not loading from php include dir - by kenjis - 06-16-2015, 12:14 AM
RE: Composer not loading from php include dir - by gdhnz - 06-16-2015, 12:57 PM
RE: Composer not loading from php include dir - by kenjis - 06-16-2015, 07:08 PM
RE: Composer not loading from php include dir - by gdhnz - 06-16-2015, 07:55 PM
RE: Composer not loading from php include dir - by gdhnz - 06-16-2015, 01:02 PM
RE: Composer not loading from php include dir - by kenjis - 06-16-2015, 07:04 PM
[Solved] Composer not loading from php include dir - by gdhnz - 06-18-2015, 08:28 PM
|