People who code: we want your input. Take the Survey

Questions tagged [composer]

Composer is a dependency manager for PHP.

Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

How to create shortcuts for commands in .bashrc file? [migrated]

I installed Drupal 9 on a shared server, at Infomaniak. Drush and Composer are installed on it. Currently to use Composer, I have to do the composer2 command. Currently to use Drush I have to do the ...
0
votes
0answers
49 views

Upgrading PHP from 7.0 to 7.4 is not recognized by composer

I have perform an upgrade of the PHP version running in our server from PHP 7.0 to PHP 7.4. The IIS PHP Manager seems to be correct: Checking phpinfo() displays the correct version: also from ...
0
votes
0answers
183 views

Installing composer in windows server 2008 r2

I'm getting this problem while installing composer on windows server 2008 : The Composer installer script was not successful [exit code 1]. OpenSSL failed with a 'certificate verify failed' error. ...
0
votes
0answers
108 views

neither V1 or V2 of composer seem to work

ime trying to run composer for a lavalier install but neither V1 or V2 seems to work. I tried V1 and got Loading composer repositories with package information Installing dependencies (including ...
-1
votes
1answer
464 views

How to set smtp_password in GCP Cloud Composer for configuring third-party SMTP services

I can use only G Suit SMTP mail server due to company security policy. I want to configuring 3rd-party SMTP service for using G Suit mail service but I can't set "smtp smtp_password" config ...
0
votes
2answers
71 views

How to install zend framwork zend-soap on

I am trying to install a package using composer. It fails with the error message below. Problem 1 - zendframework/zend-soap 2.7.0 requires ext-soap * -> the requested PHP extension soap is ...
1
vote
1answer
246 views

Composer crashes

When I run composer update I get this error: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Question\Question::__construct() must be of the type string, array ...
0
votes
1answer
244 views

How to point composer to the right PHP version?

I have several versions of PHP installed on my server, and I use FastCGI to select the one to use for a certain setup. I am trying to install PIMCore and it has a Composer project for that. I have ...
0
votes
1answer
96 views

Gcloud repository - how to make a repo stable?

We're using our gcloud cloud repositories to store modules and themes for our project which we get with composer. But I can't find a way to make a repository labelled as "stable" for this purpose; I ...
0
votes
1answer
1k views

Change in php.ini not reflecting PHP Memory_Limit Master Value

I am trying to install a composer package for AWS S3 integration and came across the Composer Out of Memory issue. Upon checking phpinfo() I could see the loaded php configuration file is /etc/php....
0
votes
1answer
1k views

zend_mm_heap corrupted PHP Fatal error: Cannot redeclare composerRequire

We have a webserver where besides normal requests large files are being uploaded. Some requests (such as 1/10) are dropped. We than see following errors in the error log. ==> /var/log/apache2/...
1
vote
1answer
2k views

Why is my Docker Symfony project with Composer consuming so much memory?

Description I'm deploying my symfony project in prod. It works fine when I simply run docker-compose up. However I'm getting an issue with my deploy script and try accessing the web page in my ...
2
votes
1answer
281 views

OPcache cache same file for different users only once

Is there some way to make OPcache use a hash or target a specific directory on each domain to disable use_pwd so it won't cache the same packages over and over? By default OPcache appends the working ...
0
votes
2answers
987 views

./composer.json is not readable when running on Synology NAS

I asked the same question a while ago on the stackoverflow site, with no results. As it clearly has something to do with configuration of our Synology NAS maybe the expertise of you guys here suits ...
1
vote
1answer
67 views

Semantic MediaWiki require onoi/callback-container, but it can't be installed

I try to install the latest release of SemanticMediaWiki. When I run composer update, it returns the following: > ComposerHookHandler::onPreUpdate Loading composer repositories with package ...
1
vote
1answer
2k views

AWS CodePipeline output file empty

To deploy my Laravel framework to Docker containers on AWS, I created a CodePipeline in AWS with three basic steps: 1) Get source from Github (Output artifact = MyApp) 2) Use AWS CodeBuild (...
1
vote
1answer
159 views

Does the composer software have a command like python -m compileall ./

I want to use composer for a mediawiki root folder with multiple directories that need composer to install their dependencies with a command like composer -m installall ./ For example , if the root ...
1
vote
1answer
565 views

Why does PHP Composer have CA certs in its installer file?

The developers of Composer have a script you can execute to install Composer on your system. It contains a slew of CA certs in the file. I am new to certificate security and am wondering what this ...
5
votes
1answer
8k views

docker-compose exec composer as user

I have a docker-compose setup working perfect on my local machine for my symfony projects with nginx, php7-fpm and mysql. I often need to install new packages via composer, so I just deliver the ...
0
votes
0answers
81 views

Commands in Dockerfile of a base image is not being run

I ran out of methods already, this is rather confusing. So, I have a docker container where I would like to "git clone" my php web application, and then run "composer install". From my understand, ...
0
votes
2answers
2k views

Class 'Pusher' not found when installing koel

I'm trying to install 'koel' on my VPS (Debian Jessie). I followed this guide (as well as many other guides before) http://freedif.org/how-to-install-koel-an-opensource-music-streaming-app/ Did a npm ...
1
vote
1answer
537 views

php wont run on command line

When trying to run the composer install script in the php official docker container (php:5.6-apache) the command line seems to just hang waiting for input the command I am trying to run is the ...
1
vote
0answers
33 views

running composer from upstart

I am running Ubuntu 14.04. I am trying to make a service capable of deploying an application. The process is very simple: I have a node script listening on port 2133 for a POST request When this ...
0
votes
1answer
126 views

Composer is having ssl issues with private repository on osx

there are many similar questions but nothing that helps my cas. We are using a custom self hosted composer repo, for internal libraries. It all worked perfectly fine untill we updated the SSL ...
2
votes
1answer
4k views

Uncaught Error: Class 'Monolog\Logger' not found

I use PHP 7.0 on Apache 2.4.20 and Ubuntu 16.04 LTS. I have followed this guide to have upload functionality and would like to know what I can do to fix the following error that I receive: PHP ...
5
votes
1answer
3k views

gitlab SSL configuration / certificate verification failed

I have my own gitlab server, now secured with an letsencrypt SSL certificate. Now, I want to publish some packages via packagist. But when I enter the git repository url in packagist, I got the ...
1
vote
1answer
160 views

Centos 6 - Allow sudo composer self-update for user without password

I'm trying to allow my wheel group user to run sudo composer self-update without a prompt for a password for my deploy script. I have added the bottom line below to my /etc/sudoers file: ## Allows ...
1
vote
0answers
95 views

Reducing inodes usage on vServer

On my Linux vServer the inodes are limited (maximum is 250k). I found that an Yii2 (PHP, MySQL, composer) installation requires quite a lot of inodes. The number of inodes is roughly the number of ...
0
votes
1answer
1k views

Geotrust SSL certification issue

I have an issue with curl (Centos 6 env) does not recognize Geotrust intermediary certificate: * Trying 192.168.6.6... connected * Connected to composer.graymatter.co.uk (192.168.6.6) port 443 (#0) ...
0
votes
1answer
2k views

How to change the default timeout configuration file for composer [closed]

I've been searching all over the internet and I can't seem to find any help as to where my composer's configuration file is saved to. Basically what I'm trying to do is change the ...