I installed the recent versions of xampp for windows and yaml on my PC with windows 8.1 64bit.
The versions were
I put the line of extension=php_yaml.dll
to the end of php.ini
file. I copied php_yaml.dll
to C:/xampp/php/ext
folder. I copied yaml.dll
to C:/xampp/apache/bin
folder.
phpinfo();
command displayed that yaml was enabled.
But bad warning still appeared on command prompt when typing php
command:
$ php PHP Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_yaml.dll' - The spec ified module could not be found. in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_yaml.dll' - The specified module could not be found. in Unknown on line 0
See it on screenshots:
How to fix it?
将;C:\xampp\apache\bin
添加到PATH
Windows 环境变量。
I fixed mine by downloading the correct version of yaml. The yaml Version has to match the installed PHP version. Make sure that you match the thread-safe and non-thread-safe option with your PHP aswell.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.