在 xampp windows 中安装 Yaml [英] Installing Yaml in xampp windows
问题描述
我正在尝试在 XAMPP windows 64 位
YAML>
从 http://pecl 下载了 .dll 文件.php.net/package/yaml/1.1.1/windows
在php ini中启用扩展如下
extension=php_yaml.dll
重启Apache
出现如下错误php启动无法加载动态库
<块引用>
\xampp\php\ext\php_yaml.dll"
这是正确的方法还是我遗漏了什么?请帮帮我
经过一番研究,终于找到了解决方案
转到 https://github.com/LegendOfMCPE/LoM-CMS/wiki/How-to-Install-LibYAML
查看以下链接对于窗口http://search.4shared.com/postDownload/ComqwjFvce/php_yaml-102-dev-54-vc9-x86.html
下载该压缩文件
解压后将 yaml.dll 放入 xampp 文件夹
xampp/php/ext/文件夹内的php_yaml.dll
在 php.ini 中添加 extension=php_yaml.dll 并重启 apache.如果可能,重新启动系统
在php文件中执行以下几行来检查扩展是否加载
<块引用>if (extension_loaded(yaml)) echo "yaml loaded :)";其他
echo "出了点问题:(";
I am trying to install YAML in XAMPP windows 64 bit
Downloaded the .dll file from http://pecl.php.net/package/yaml/1.1.1/windows
enabled the extension in php ini as follows
extension=php_yaml.dll
Restarted the Apache
Getting the following error php startup unable to load dynamic library
"\xampp\php\ext\php_yaml.dll"
Is this is the right way or I am missing any thing ? Please help me
After a lot of research, I finally found a solution
Go to https://github.com/LegendOfMCPE/LoM-CMS/wiki/How-to-Install-LibYAML
See the below link For windows http://search.4shared.com/postDownload/ComqwjFvce/php_yaml-102-dev-54-vc9-x86.html
Download that zip file
Unzip it and put yaml.dll inside xampp folder
php_yaml.dll inside xampp/php/ext/ folder
add extension=php_yaml.dll in php.ini and Restart apache. If possible restart the system
Execute the following lines in a php file to check the extension loaded or not
if (extension_loaded(yaml)) echo "yaml loaded :)"; else
echo "something is wrong :(";
这篇关于在 xampp windows 中安装 Yaml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!