I'm using Ubuntu 16.04 LTS amd64. I have installed LAMP (php5.6, apache2, mysql) and Composer. I downloaded my laravel project from github. I would like to update Composer to start the local server php artisan serve. But when I would like to run…
I have a really simple bash script with 5 commands running under the root user. If I run commands manually one by one everything works - no problem. But as I run it as my-deploy.sh file via command
bash /root/custom-scripts/deploy/my-deploy.sh 2>>…
I've installed composer and the laravel installer which is now located unter ~/.config/composer/vendor/bin. I want to use laravel directly as a command from anywhere, so I tried to add the directory to the $PATH variable. I probably could create a…
The composer package from the apt repositories fails with every command (composer install, composer update, composer list, composer --version)
Error message
PHP Warning: require(Composer/autoload.php): failed to open stream: No such file or…
When I run this command sudo composer global require "laravel/installer" it produces this output:
Changed current directory to /home/zoheir/.composer
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version…
While I know that php 8 is the default PHP choice on Ubuntu 22.04, I still use php 7 for my project. When installing packages related to PHP, the dependancies always pick php-common, php-*, etc.. and end up installing php 8 on the server.
Currently…
I have tried to update my existing composer version in ubuntu.
and I try to check the version but ubuntu say package not found.
Then I again try sudo apt install composer to install composer.
Now when I checked the composer's version. It shows 1.6.3…
So I'm trying to get calcinai/xero-php installed using Composer but am getting this error in specific.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package calcinai/xero-php No version…
curl -sS https://getcomposer.org/installer | sudo php -- --install- dir=/usr/local/bin --filename=composer
When I run the above command in terminal I got this this response:
Some settings on your machine make Composer unable to work properly.
Make…
I am getting this sort of error while downloading composer.
php composer-setup.php
All settings correct for using Composer
PHP Warning: file_put_contents(/home/vasu/.composer/keys.dev.pub): failed to open stream: Permission denied in…
As what I have stated from the title,
I need to install the newest laravel 5.3 in 14.04 server, the composer cannot run because it need PHP 5.6 but in my own server they have 5.5. Either, I have to upgrade the PHP (which I have stuck because I…
I want to install composer by apt install or composer-setup.php.
After composer made the setup, and says composer -V I am getting this error message.
Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so'
(tried:…
I'm on ubuntu 20.04 LTS and I have installed Composer directly using the terminal, but I'm getting this error:
[Composer\Downloader\FilesystemException]
Filesystem exception: …
I am trying to upgrade composer to Composer2 (from Composer1).
richb201@richb201-XPS-13-9370:/opt/docker-substantiator2/app/vendor/sendpulse-rest-api-php-master/src$ composer selfupdate
Updating to version 2.0.13 (stable channel).
Downloading…
I'm trying to install composer using a tutorial, on Ubuntu 18.04. I'm having the following error message:
$ sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
[sudo] password :
All settings correct for using…