When I have tried to install composer for laravel 8 on localhost MAMP
I have gotten this message in command line (terminal): -bash:
/Applications/MAMP/bin/php/php7.4.16/bin/php: No such file or directory
notice php7.4.16 shows in path, although I'm using ver 8, further to, this version is no longer supported and not in use at all.
I had searched for solving my problem in google, until I found the following treatment for solving path issue, but it doesn't benefit me:
https://craftcms.com/knowledge-base/mamp-with-composer-and-mysql-on-the-command-line
it has replaced the php ver path I have actually, but the problem is still.
why this version shows in my installation path although it's old & dead version?
what I should do?
kindly, anybody could help me to solve this problem?
Also, could me to install composer on XAMPP instead of MAMP, because I have a copy of it on my MacBook computer already?
Thank you for my helping in advance.
Related
I try to install zip package in my lamp stack in ubuntu 16.04. I'm getting below error after that installation process not moving further. I tried n number of times also I googled I'm not getting any solutions. Please guide me to resolve this issue.
Renaming removed key_buffer and myisam-recover options (if present)
Note: Facing issue not only for this package(php-zip) installation, It's happening for all the package installation.
Thanks in advance.
Edited:
I am having a problem in installing Composer. Would you help me solve this?
Here is my scenario:
Before, I am using Composer. I can install packages in my project with no problems. My life was easy. But all of a sudden, something went wrong and I don't what it is. I do not change any configuration in my computer. If I do composer update, there is an error.
something like:
zlib_decode() data error.
I cannot post the screenshot of the error because I already uninstalled Composer hoping that If I reinstall it the problem would be solved.
So I have uninstalled composer, and tried to reinstall it. But now I cannot install Composer using both the windows cmd, and the composer-setup.exe. In the windows cmd, It says, "Installer is corrupted", In the composer-setup.exe the message is : (Failed to decode zlib stream)
Here is what I have tried so far:
I have disabled ESET antivirus. and IPV6 (composer.org degraded mode)
I have disable the firewall.
I have uninstalled composer. but now I cannot install it again.
Here are the other details hope it would help:
I am using Windows 10 64bit
I am using CodeIgniter
I am using XAMPP for Windows
I am running PHP 7.1
I don't know if it is relevant but we have a company domain. and maybe firewall
If there is anything you need to know I will provide it. Hope you can help me with this. Hope I explained my self well. Thanks!
Here is the screenshot:
Screenshot when installed using windows cmd
I installed the WAMP Server on my laptop, but after installing it gave me the following error :
"The Program can't start because MSVCR110.dll is missing from your
computer. Try reinstalling the program to fix this problem. "
After searching I found that need to install vcredist_x64 and X86 on my laptop(OS windows 64 bit). I download that but the problem is not solved yet.
Can anybody help me to solve this??
Thanks in Advance
For some reason I need to downgrade the php5.4 to 5.2.6 I've already manually installed the php5.2.6 after compiling it was success.. no errors where encountered. but funny thing is that when i php -v it is telling me that php is not installed.
Sever setup
default apache httpd is installed.
removed php5.4 and downgraded it to php5.2.6
I've already tried everything I found over the net but still can't figure out what I have missed along the way.. I'm just a newbie here and your expert advice will really help.. Thanks in advance..
Cheers
I'm trying to install composer on my computer but I get many errors about missing some DLLs. I've downloaded some of them but I cannot find any website, where to download libsybcomn64.dll. However, I don't think downloading each DLL from internet is a good solution.
I'm using Windows 7 x64 and have Apache 2 and PHP 5.6.9 installed - simple PHP works.
I've solved it myself.
And I'm really stupid. Problem was that when installing PHP I uncommented all extensions in php.ini - I thought the more there is, better. So I reset that whole file and uncommented only the necessary - php_pdo_mysql.dll and php_openssl.dll. Now it works.
Hope this will be helpful for someone...