且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 Windows 上使用 XAMPP 安装 PHP YAML 扩展

更新时间:2023-02-22 22:38:44

在读者的帮助下,我似乎已经缩小了实现这一目标的步骤.

With a bit of help from the readers I seem to have narrowed down the steps to accomplish this.

  1. 下载最新的 YAML DLL 包
  2. 解压文件
  3. php_yaml.dll 文件移动到 xampp/php/ext 文件夹
  4. xampp/php中打开你的php.ini并添加extension=php_yaml.dll这一行,保存退出
  5. 现在将 yaml.dll 文件从 zip 文件夹内容中移动到 xampp/apache/bin 文件夹中
  6. 关闭并重新启动您的 XAMPP 服务器
  7. 加载一个php脚本echo phpinfo();
  8. 在页面上搜索字符串yaml.如果显示已启用,则您的 YAML 扩展正在运行.
  1. Download the latest YAML DLL Package
  2. Unzip the files
  3. Move the php_yaml.dll file to xampp/php/ext folder
  4. Open your php.ini in xampp/php and add the line extension=php_yaml.dll, save and exit
  5. Now move the yaml.dll file from the zip folder contents and move it to the xampp/apache/bin folder
  6. Close and restart your XAMPP Servers
  7. Load a php script echo phpinfo();
  8. Search the string yaml on the page. If it says Enabled then your YAML Extension is working.