EasyPHP Windows7 Wrong PATH variable

I have a problem with the PATH env variable on Windows 7. Unfortunately, PHP-CLI does not see the PATH variable correctly. How do I solve my problem?

Apache / 2.4.2 (Win32) PHP / 5.4.6 PHP version 5.4.6 server information

Package: EASYPHP e.devserver 12.1 with PHP 5.4.6 (up to 5.4.11 / 5.5.0 alpha 3)

Regards, Mateusz

$ php
Failed loading c:\bin;.;C:\Program Files (x86)\Git\local\bin;C:\Program Files (x
86)\Git\mingw\bin;C:\Program Files (x86)\Git\bin;c:\Windows\system32;c:\Windows;
c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
Files\Dell\DW WLAN Card;c:\Program Files (x86)\Java\jdk1.6.0_30\bin;c:\ant\bin;c
:\EasyPHP\php\php546x130118150312\php\php546x130118150312\php_xdebug-2.2.1-5.4-v
c9.dll
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:\bin;.;C:\Program F
iles (x86)\Git\local\bin;C:\Program Files (x86)\Git\mingw\bin;C:\Program Files (
x86)\Git\bin;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\
System32\WindowsPowerShell\v1.0\;c:\Program Files\Dell\DW WLAN Card;c:\Program F
iles (x86)\Java\jdk1.6.0_30\bin;c:\ant\bin;c:\EasyPHP\php\php546x130118150312\ph
p\php546x130118150312\ext\php_bz2.dll' - Nie mo┐na odnalečŠ okreťlonego modu│u.
 in Unknown on line 0

      

+3


source to share


1 answer


I had the same problem. I changed $PATH

to full path (in php.ini) and removed the extension yaz

. Then he worked.



+3


source







All Articles