V
V
Vova Margaryan2020-11-18 12:31:07
PHP
Vova Margaryan, 2020-11-18 12:31:07

Error installing Composer. What to do?

Hello everyone, I wanted to install Composer, but I can’t solve this error.
5fb4e9bf99e66753620887.png
If that in addition I write an error code.

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 'pdo_firebird' (tried: ext\pdo_firebird (The specified module could not be found.), ext\php_pdo_firebird.dll (The specified module could not be found.)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_oci' (tried: ext\pdo_oci (The specified module could not be found.), ext\php_pdo_oci.dll (The specified module could not be found.)) in Unknown on line 0

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2020-11-18
@Sanes

Download the library and use. Why such difficulties?

I
Ilya Loginov, 2020-11-18
@TommyV888

Replace in file "C:\Program Files\Php\php.ini":
extension_dir = ".\"
with:
extension_dir = "ext"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question