T
T
trevoga_su2016-07-18 10:31:30
PHP
trevoga_su, 2016-07-18 10:31:30

Why doesn't php load extensions under Win?

Here you download php and always, always it cannot determine the path to the extension in php.ini:
extension=php_mbstring.dll
works only if you specify the full path from the disk.
Otherwise, it searches for it for some reason in C:/php, although there is NO such environment variable.
Where to dig? I need to make a standalone package and I can't bind to a disk.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-07-18
@trevoga_su

The default location PHP searches for extensions is c:\php5 . To change this setting to reflect your setup of PHP edit your file php.ini.
You need to change the parameter extension_dir to point to the directory where your extensions or where you placed your files php _ *. Dll. For example:extension_dir = c:\php\extensions

php.net/manual/fr/install.windows.extensions.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question