Installing Yaml in xampp windows

[亡魂溺海] 提交于 2019-12-07 20:39:59

问题


I am trying to install YAML in XAMPP windows 64 bit

  1. Downloaded the .dll file from http://pecl.php.net/package/yaml/1.1.1/windows

  2. enabled the extension in php ini as follows

    extension=php_yaml.dll

  3. Restarted the Apache

  4. 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


回答1:


After searched lot finally found a solution

  1. Go to https://github.com/LegendOfMCPE/LoM-CMS/wiki/How-to-Install-LibYAML

  2. See the below link under For windows http://search.4shared.com/postDownload/ComqwjFvce/php_yaml-102-dev-54-vc9-x86.html

  3. Download that zip file

  4. Unzip it and put yaml.dll inside xampp folder

  5. php_yaml.dll inside xampp/php/ext/ folder

  6. add extension=php_yaml.dll in php.ini and Restart the apache. If possible restart the system

  7. 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 :(";



来源:https://stackoverflow.com/questions/27355513/installing-yaml-in-xampp-windows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!