madumlao / phpenv

Simple PHP version management
MIT License
87 stars 10 forks source link

phpenv loading php.ini from /usr/local/etc/php as well as $HOME/PHPENV_ROOT #19

Closed zdxn closed 5 years ago

zdxn commented 6 years ago

Can i get some help on this issue possibly? Maybe I'm just using the tool wrong.

According to phpenv, when i do a phpenv exec php --ini, im shown that im loading php files from only 1 specific location.

But if i include phpenv inside my jenkins run, im sourcing php.inis from 2 locations, which is causing php to load modules for a very old version of php which im using phpenv to get around.

Can i get some help on this possibly or debug assistance in figuring out why its attempting to load the old version?