grrr-amsterdam / simply-static-deploy

WordPress plugin to deploy static sites easily to an AWS S3 bucket.
MIT License
68 stars 11 forks source link

PHP requirements #31

Closed Eagerbob closed 4 years ago

Eagerbob commented 4 years ago

When trying to install using composer I get this error message: [InvalidArgumentException]
Package grrr-amsterdam/simply-static-deploy at version has a PHP requireme
nt incompatible with your PHP version (5.6.30)

Not sure what this could mean?

Webserver is nginx running PHP 7.3.2 and SQL 5.7.23

harmenjanssen commented 4 years ago

We've seen setups where PHP version on the command line differed from the PHP version used by the web server. Maybe that's the case here? It's never a desirable situation obviously, especially not when the gap is this wide!

Could you confirm your PHP version on the command line where you're trying to install?

$ php -v
Eagerbob commented 4 years ago

Yes, that's it. Site runs in Local by Flywheel on my mac. PHP version of my mac was 5.6.30 Upgraded to 7.2 and it now works: The plugin installed and is visible in the dashboard. Thanks!

harmenjanssen commented 4 years ago

@Eagerbob Good to know! 👍