繁体   English   中英

php chilkat_9_5_0 扩展在 windows 10 中不起作用

[英]php chilkat_9_5_0 extension not working in windows 10

我的 PHP 版本 7.2.1 和架构是 x86 和系统是 Windows 10 64 位所以我从https://www.chilkatsoft.com/php.asp#winDownloads下载了 chilkat-9.5.0-php-7.2-nts-win32并将扩展名 DLL 文件添加到我的 C:/xampp/php/ext 中,例如“C:/xampp/php/ext/chilkat_9_5_0.dll”,并更新了我的 php.ini 但是 PHP 正在抛出启动警告,而 chilkat 扩展名不是为我工作,你能指导我哪里错了吗?

我的 php.ini

  • extension_dir="C:\xampp\php\ext"
  • 扩展名=chilkat_9_5_0

PHP 错误

PHP Warning: PHP Startup: Unable to load dynamic library 'chilkat_9_5_0' (tried: C:\xampp\php\ext\chilkat_9_5_0 (The specified module could not be found. ), C:\xampp\php\ext\php_chilkat_9_5_0.dll (找不到指定的模块。))在 Unknown on line 0

我的php.ini

我的 PHP 版本

我的 PHP 扩展目录

那么首先你需要通过 phpinfo() 找到你的 PHP 是 NTS(非线程安全)还是 TS(线程安全)

如您所见,线程安全已启用,这意味着 PHP 是 TS

我的 PHP 版本是 7.2.34 x64 这意味着我必须下载

chilkat PHP 7.2.*(线程安全)x64

安装后将 chilkat_9_5_0.dll 放入 (C:\xampp\php\ext) 如果您使用的是 xamp,我的默认 require() 位于 (C:\xampp\php\pear) 因此将 chilkat_9_5_0.php 移动到 (C:\xampp \php\梨)

在 php.ini 中搜索动态扩展并在下方添加 (extension=chilkat_9_5_0.dll) with the.dll

重新启动 XAMP 并使用下载中给定的 test.php 文件对其进行测试,它应该可以工作

My PHP Version 7.2.1 and Architecture is x86 and System is Windows 10 64 bit so I have downloaded chilkat-9.5.0-php-7.2-nts-win32 from https://www.chilkatsoft.com/php.asp#winDownloads and extension DLL file added into my C:/xampp/php/ext such as "C:/xampp/php/ext/chilkat_9_5_0.dll" and updated my php.ini as well But PHP is throwing startup warning and chilkat extension is not为我工作,请您指导我哪里错了。

我的 php.ini

  • extension_dir="C:\xampp\php\ext"
  • 扩展=chilkat_9_5_0

PHP 错误

PHP Warning: PHP Startup: Unable to load dynamic library 'chilkat_9_5_0' (tried: C:\xampp\php\ext\chilkat_9_5_0 (The specified module could not be found. ), C:\xampp\php\ext\php_chilkat_9_5_0.dll (找不到指定的模块。))在第 0 行的未知中

我的 php.ini

我的 PHP 版本

我的 PHP 扩展目录

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM