大家好
我正在使用xampp v3.2.1 php version 5.5.11
在我的php.ini配置代码中
extension=php_sqlsrv_55_ts.dll
extension=php_pdo_sqlsrv_55_ts.dll
我的文件夹'D:xampp \ php \ ext'
中的扩展名错误
答案 0 :(得分:3)
我遇到了与php_apcu.dll相同的问题
经过多次努力,我想出了这个解决方案:
php_apcu.dll
'C:\xampp\php\ext'
extension=php_apcu.dll
重新启动xampp apache后发生的问题:
php_apcu-4.0.7-5.5-ts-vc11-x86
我得到了PHP error
因此,PHP告诉我们API PHP版本和API php_apcu.dll
版本不兼容。
所以我们必须找出兼容性,为了做到这一点,我进入' C:\ xampp \ readme_en.txt'在那里写道:
###### ApacheFriends XAMPP Version 5.6.28 ######
Important! PHP in this package needs the Microsoft Visual C++ 2008 Redistributable package from
http://www.microsoft.com/en-us/download/details.aspx?id=5582. Please ensure that the VC++ 2008 runtime
libraries are installed on your system.
+ Apache 2.4.23
+ MariaDB 10.1.19
+ PHP 5.6.28 (VC11 X86 32bit thread safe) + PEAR
+ phpMyAdmin 4.5.1
+ OpenSSL 1.0.2d
+ ADOdb 518a
+ Mercury Mail Transport System v4.63 (not included in the portable version)
+ FileZilla FTP Server 0.9.41 (not included in the portable version)
+ Webalizer 2.23-04 (not included in the portable version)
+ Strawberry Perl 5.16.1.1 Portable
+ Tomcat 7.0.56
+ XAMPP Control Panel Version 3.2.2 by hackattack142 (Great Thanks!!))
See: http://www.apachefriends.org/f/viewtopic.php?f=16&t=46743
+ XAMPP mailToDisk 1.0 (write emails via PHP on local disk in <xampp>\mailoutput. Activated in the php.ini as mail default.)
---------------------------------------------------------------
所以我从http://www.microsoft.com/en-us/download/details.aspx?id=5582`
安装了Microsoft Visual C ++ 2008 Redistributable软件包注意到行:
+ PHP 5.6.28 (VC11 X86 32bit thread safe) + PEAR
所以我们需要找到带有这个参数VC11 X86 32bit thread safe
我找到了http://windows.php.net/downloads/pecl/releases/apcu/4.0.8/并下载了php_apcu-4.0.8-5.6-ts-vc11-x86.zip
一切顺利无误!
答案 1 :(得分:0)
尝试使用: 扩展= “d:XAMPP \ PHP \分机\ php_sqlsrv_55_ts.dll” 扩展= “d:XAMPP \ PHP \分机\ php_pdo_sqlsrv_55_ts.dll”
然后重启你的网络服务器?