I am trying to install one of my on going work (github-repository) into my server. I successfully downloaded my work into my server using Git. This work is a laravel based work.
After I did basic composer configurations, I tried to execute the command
composer install -vvv
It seems that, it downloading and cacheing packages but not installing them. After downloading and cacheing, the process get KILLED. I cant trace what is the exact problem here ?
Is anyone face this issue before ? If anyone know why composer behave like this,then please let me know.
Related
I'm currently trying to install my Magento2 site with composer install but I'm getting CURL error 28 while downloading Connection timed out after 10000 milliseconds every time it comes to install any Amasty module. Every other module and core Magento modules install fine. My auth keys are fine I've spoken to them and they've give me the all clear about them. It use to work fine but suddenly out of the blue it's just refusing to download them.
I've tried this also https://getcomposer.org/doc/articles/troubleshooting.md#operation-timed-out-ipv6-issues- and the same issue still occurs. The funny thing is, it is now refusing to install any Amasty modules on every Magento project I try to install with composer on my machine that have different auth keys and have never had a problem with in the past. Even projects that are years old I try to install from scratch.
So the process usually goes:-
Pull project down with git
composer clearcache
composer install
installing okay until it gets to Amasty modules and I get connection timeout
If I don't clear composer cache, they install from cache completely fine.
Another weird thing is, even running composer show -a amasty/* no modules get returned but I run that command on the live site of the same project that have the same auth keys it returns loads of modules that I have available to install.
I've been stuck on this for nearly a week now and would really appreciate some help, thank you very much.
I'm trying to upload a plain laravel v5.8 project to a server. It gives me this error
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.5".
I updated the Laravel version to v6 and it still throws the same thing.
Is there any possible solution I tried many but nothing happens. Thanks in advance.
I faced this problem using the new version of composer, didn't have seen this issue before, although this question is a bit old the solution can help someone else.
I did this working in a development machine, if you really need to change the PHP version running in your server this isn't for you.
This problem is related to a composer configuration when you run the command "composer install" if you need to work with the configuration you already have and don't want to make changes which could lead to other problems you should:
remove the packages you already have installed which includes this configuration from composer
sudo rm -r vendor
run the command again with this flag: --ignore-platform-reqs
composer install --ignore-platform-reqs
Now composer won't perform this check anymore and you are good to go!
I had installed my business network and then successfully started it. Then I opened my composer playground from the command line. After opening it is showing the below message what should I do?
This looks like you have installed composer-playground as root or using sudo or su.
The composer install instructions state that you should not use su/sudo.
There is additional information about installing composer in the Knowledge wiki, but if you are having permissions problems trying to install without root/su/sudo please see this link from the npm site.
I've got a client on a shared hosting environment (which I can't change) and I'm needing to install the Parse PHP SDK, but the host won't allow me to install the Composer package manager. Does anyone else know of a manual install method?
If you have wget/unzip available, just download latest release zip (bellow the release, this file).
Use unzip to unpack package and load it with PSR-4 autoloading (the composer's approach).
Composer isn't meant to be an installer, so you are not expected to run Composer on the production machine. What would happen if during your update process Github would be down? No new website version! And maybe also no old version.
Run Composer somewhere else, and then upload the result to the server, after you verified that everything went well.
Im trying to install Laravel on a windows machine.
I followed this guide up to point 11.
http://www.wikihow.com/Install-Laravel-Framework-in-Windows
I also ran two commands already (which I got from https://stackoverflow.com/a/18852026/2240163)
set http_proxy=<your_http_proxy:proxy_port>
set https_proxy=<your_https_proxy:proxy_port>
But on running composer install i am met with a message
C:\wamp\www\LARAVEL>composer install
Loading composer repositories with package information
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: SSL
: The specified procedure could not be found.
failed to open stream: Cannot connect to HTTPS server through proxy
How can I get past the proxy to install Laravel 4.
.
.
Here in lay the solution
C:\wamp\www\LARAVEL>set http_proxy=http://mnel:******#192.168.20.4:8080
C:\wamp\www\LARAVEL>set https_proxy=https://mnel:******#192.168.20.4:8080
I then ran the install composer command again and presto!
https://stackoverflow.com/a/24958700/2240163
Thanks #mneute
Here in lay the solution
C:\wamp\www\LARAVEL>set http_proxy=http://mnel:******#192.168.20.4:8080
C:\wamp\www\LARAVEL>set https_proxy=https://mnel:******#192.168.20.4:8080
I then ran the install composer command again and presto!
https://stackoverflow.com/a/24958700/2240163
Thanks #mneute
I got this same issue when I ran composer -vvv install. I did it in windows7 computer behind a company firewall. I search and tried every possible answer but didn't work. Then I tried following and it did work
https://www.calazan.com/how-to-set-the-proxy-settings-in-windows-via-command-line/