developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
37
results
Andrew Fletcher
•
Running composer on a server... when running the command composer update, screen would error out. In the site directory, composer would show
composer --version
Composer version 1.10.24 2021-12-09 20:06:33Whereas, the commnd
/opt/plesk/php/7.4/bin/php /usr/lib64/plesk-9.0/composer.phar --version
Composer version 2.2.5 2022-01-21 17:25:52Ok, so composer on the server is running 2.2x. But on my site directory, 1.x
Updating Composer
If I ran the command to update composer...
Andrew Fletcher
•
Have you tried to run a composer update script that...
Andrew Fletcher
•
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
•
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
•
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...
Andrew Fletcher
•
As outlined in an earlier article composer php version, when installing the latest version of Drupal the Plesk version and the server version can be different. In plesk, the version of PHP is 7.3.18, whereas, on the Centos server a check through Terminal (php -v) shows PHP 7.1.33 (cli).
When attempting to install Drupal 9 through composer, the following errors will be shown:
Problem 1
- drupal/core-composer-scaffold 9.1.x-dev requires php >=7.3.0 -> your PHP version...
Andrew Fletcher
•
Running a common composer command, post an upgrade on the server to Centos 7 and...