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

not compatible with PHP 7? #52

Closed
robbiefowler opened this issue Feb 22, 2017 · 4 comments
Closed

not compatible with PHP 7? #52

robbiefowler opened this issue Feb 22, 2017 · 4 comments

Comments

@robbiefowler
Copy link

Could not find package magepal/magento2-gmailsmtpapp at any version matchin
g your PHP version 7.1.2.0

@srenon
Copy link
Contributor

srenon commented Feb 22, 2017

@robbiefowler ... I will review and update the composer.json "require" section shortly

@srenon
Copy link
Contributor

srenon commented Feb 22, 2017

@robbiefowler ... did you install magento using composer?

Magento seem to be using the same php requirement as this module see https://github.com/magento/magento2/blob/develop/composer.json#L11

@robbiefowler
Copy link
Author

yes I ran the command composer require magepal/magento2-gmailsmtpapp and got the error as above. It would not install. I have installed it manually but having block ports issues so not sure if it will work

@srenon
Copy link
Contributor

srenon commented Feb 22, 2017

Since Magento technically don't support 7.1.2.0, removing the php requirement or adding this new version can only cause more harm than good (in term of me support this module).

One quick solution would be to fork this module and update the compose.json

composer config repositories.MyRepoHere-gmailsmtpapp git git@github.com:MyRepoHere/magento2-gmailsmtpapp.git

composer require MyRepoHere/magento2-gmailsmtpapp:master

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

2 participants