Answer the question
In order to leave comments, you need to log in
What goes wrong in the Bitbucket pipe when building a Laravel application?
There is an application that works properly on the server. Even after transferring to another server through the banal git clone + composer install - everything is ok.
I tried for the first time in my life to set up a build through Bitbucket pipelines. Must do composer install and pack into container.
Here it packs in a container, but the installer does not work. Gives the following error:
+ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- php-amqplib/php-amqplib is locked to version v3.1.0 and an update of this package was not requested.
- php-amqplib/php-amqplib v3.1.0 requires ext-sockets * -> it is missing from your system. Install or enable PHP's sockets extension.
To enable extensions, verify that they are enabled in your .ini files:
- /usr/local/etc/php/php-cli.ini
- /usr/local/etc/php/conf.d/docker-php-ext- sodium.ini
- /usr/local/etc/php/conf.d/docker-php-ext-zip.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Answer the question
In order to leave comments, you need to log in
composer install --ignore-platform-reqs
Will deliver, ignoring the extension requirement
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question