nextjs-headless-wordpress icon indicating copy to clipboard operation
nextjs-headless-wordpress copied to clipboard

Composer version conflicts with wordpress SEO plugin base requirement

Open metawise opened this issue 4 years ago • 2 comments

Current docker file pull composer with PHP version 8 which conflicting with Wordpress SEO plugin.

metawise avatar Apr 10 '21 02:04 metawise

Can you please elaborate on the situation, with screenshots if possible?

imranhsayed avatar Apr 29 '21 19:04 imranhsayed

Composer error when try to install wordpres-seo plugin:

composer_1    |   Problem 1
composer_1    |     - yoast/wordpress-seo[15.1-RC1, ..., 15.9.3-RC1] require php ^5.6.20||^7.0 -> your php version (8.0.5) does not satisfy that requirement.
backend_composer_1 exited with code 2

The latest Composer docker image use:

ENV PHP_VERSION=8.0.5
ENV PHP_URL=https://www.php.net/distributions/php-8.0.5.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.0.5.tar.xz.asc

I temporarily fix this problem using the "prooph/composer:7.3" image instead of the "composer:latest" one for the composer service in the "docker-compose.yml" file.

Ohhhh avatar May 07 '21 14:05 Ohhhh