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

Remove default php version from debian #5

Open
twisted1919 opened this issue May 9, 2017 · 0 comments
Open

Remove default php version from debian #5

twisted1919 opened this issue May 9, 2017 · 0 comments

Comments

@twisted1919
Copy link

I hit an issue where if i created a container based on FROM alterway/php:7.1-fpm and i then connect to it and type /usr/bin/php i get php 5.6 instead of 7.1. To get php 7.1 i have to either use php only or /usr/local/bin/php which is super confusing and took me few hours to figure out why i couldn't connect to mysql using PDO because it complained it can't find a valid driver.

My advice is to simply remove php 5.6 from the debian release: RUN apt-get -y purge php.* this way we will only have a single PHP version and there will be no confusion whatsoever.

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

No branches or pull requests

1 participant