I have a tedious setup and have ended up with multiple versions of PHP on Mac OSX Yosemite, and now it has become confusing. So, I managed to have gettext working with PHP for localization, and it works for Apache. But now when I have installed PHPStorm, I get:
Call to undefined function bindtextdomain()
indicating the gettext isn't supported. I understand that php.ini is also telling this isn't enabled and infact, there are different phpinfo() outputs for when I run the same file using apache and then using built-in server with PHPStorm.
Is there a way to be able to know which PHP is currently being used by apache and replicate the exact functionality with PHPStorm ? I wished that it will make debugging faster, but instead the setup has me stuck.