Running multiple PHP interpreters in a single project

Hi there.

I have a project where we're running PHP within a docker container for our local testing of the actual software, but I then have the local version of PHP 5.6 that I use for other tools such as Composer install, Phinx migrations.

Is there any way to set up a project that allow for using multiple interpreters to be used, and be able to specify the interpreter you want to use for a configuration?

0
1 comment
Avatar
Permanently deleted user

Hello,

You can specify PHP interpreter for Composer separately at File | Settings (or PhpStorm | Preferences for Mac) | Languages & Frameworks | PHP | Composer.

As for Phinx, I am not sure as we don't have any dedicated integration with it so if executed from terminal, it might use the system-wide interpreter.

0

Please sign in to leave a comment.