Closed TheCelavi closed 7 years ago
I made a slightly different fix which should also address this: https://github.com/schmittjoh/JMSJobQueueBundle/commit/cde4aec981b7b411737f466a0c86892cf3d8e717
Hi @schmittjoh, I'm not agree about closing this PR.
With @TheCelavi PR, you can specify some case like his/mine case.
I need to run php like
/path_to_php/php -c /path_to_ini/my_host_config.ini
With PHP_BINARY, it runs a misconfigured php.
In my case, I have any php extensions.
Please reconsider the PR.
EDIT : a workaround, for my case, is to set PHPRC environment variable pointing to php.ini directory
Fix for #154
No BC break.
Useful for shared hosts with multiple PHP installations.