更新时间:2023-02-19 18:43:03
您可能需要编辑 php.ini
文件并重新启动服务器.在 php.ini
配置中添加绝对路径.它适用于我的Windows 8.1机器中的xampp服务器.
示例: extension_dir ="\ xampp \ php \ ext"
到 extension_dir ="C:\ xampp \ php \ ext"
参考:
You may need to edit your php.ini
file and restart the server. Add absolute paths in php.ini
configuration. It worked for xampp server in my windows 8.1 machine.
example: extension_dir="\xampp\php\ext"
to
extension_dir="C:\xampp\php\ext"
Reference: How to fix PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_curl.dll'?