Closed ili101 closed 4 years ago
Please supply your log file:
Composer-Setup creates a log file in your temp directory AppData\Local\Temp, with a formatted filename: Setup Log YYYY-MM-DD #nnn.txt Please include this file if you experienced a problem with the installation process. Review it first for any data that might be sensitive.
First error
---------------------------
php.exe - Entry Point Not Found
---------------------------
The procedure entry point EVP_DigestSign could not be located in the dynamic link library C:\Program Files\php\libssh2.dll.
---------------------------
OK
---------------------------
Then
The PHP exe file you specified did not run correctly:
C:\Program Files\php\php.exe
The php.ini used by your command-line PHP is: C:\Program Files\php\php.ini
A setting in your php.ini could be causing the problem: Either the 'extension_dir' value is incorrect or a dll does not exist.
Program Output:
PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: ext\curl (The specified module could not be found.), ext\php_curl.dll (The specified procedure could not be found.)) in Unknown on line 0
Setup Log 2020-10-26 #005.txt (V1 installs successfully)
This has nothing to do with different versions of composer. This is because your php is not setup correctly. Could you please tell me what you downloaded from https://windows.php.net/download/
Looks like the curl error is from something I probably configured as I try on a new download and it's not showing. But the ssh error is happening on the 2 versions I tried "PHP 7.4 (7.4.11) VC15 x64 Thread Safe (2020-Sep-29 16:55:18)" and "PHP 7.3 (7.3.23) VC15 x64 Non Thread Safe (2020-Sep-29 15:51:28)"
Did you download and install the Visual C++ Redistributable for Visual Studio 2015-2019 https://aka.ms/vs/16/release/VC_redist.x64.exe ?
Thank you For future reference both problems where solved by installing the package.
Download and extract PHP https://windows.php.net/download/ Run Composer-Setup.exe and select the php folder and next.