Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple PHP versions #23

Closed
philipnewcomer opened this issue Dec 28, 2016 · 3 comments
Closed

Support multiple PHP versions #23

philipnewcomer opened this issue Dec 28, 2016 · 3 comments

Comments

@philipnewcomer
Copy link
Member

Support multiple versions of PHP, switchable via a cookie like Xdebug is currently toggled.

@AaronHolbrook
Copy link
Member

Also a query arg would be nice for this

@AaronHolbrook
Copy link
Member

AaronHolbrook commented Jan 7, 2017

Would also be nice to not install a ton of php versions by default, but instead only if user directs dockerbox to do so (goes back to the idea of somehow allowing customization by user)

@philipnewcomer
Copy link
Member Author

Added support for multiple versions of PHP, switchable via a php cookie and a query arg, similar to how Xdebug works already. The current Xdebug toggle/query arg plays nicely with the PHP toggle/query arg.

I decided to officially support in Pilothouse only the versions of PHP currently supported by the PHP maintainers themselves, 5.6, 7.0, and 7.1 currently. While I wouldn't rule out older versions of PHP, there are no official Docker images for unsupported PHP versions, so they will be much more difficult to support in Pilothouse.

Documentation
Changing the PHP version for web requests:
https://github.com/Pilothouse-App/pilothouse/wiki/Changing-a-site's-PHP-version
Changing the PHP version for WP-CLI commands:
https://github.com/Pilothouse-App/pilothouse/wiki/Using-WP-CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants