2条回答 默认 最新
- dsdtumf776629385 2017-03-23 09:51关注
I had same issue with php_apcu.dll
After many struggles I came up with this solution:
- Get
php_apcu.dll
- Copy php_apcu.dll to
'C:\xampp\php\ext'
- in my php.ini:
extension=php_apcu.dll
Problems that occurs on after restarts xampp apache:
- From this url http://windows.php.net/downloads/pecl/releases/apcu/5.1.8/ I downloaded
php_apcu-4.0.7-5.5-ts-vc11-x86
and I get following PHP error
So PHP tells us that API PHP version and API
php_apcu.dll
version is not compatible.So we have to find out compatible, to do this i go in 'C:\xamppeadme_en.txt' and there it is written:
###### 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.) ---------------------------------------------------------------
So i've install Microsoft Visual C++ 2008 Redistributable package from http://www.microsoft.com/en-us/download/details.aspx?id=5582`
And noticed row:
+ PHP 5.6.28 (VC11 X86 32bit thread safe) + PEAR
So we need to find php_apcu.dll with this parameters
VC11 X86 32bit thread safe
And i have found http://windows.php.net/downloads/pecl/releases/apcu/4.0.8/ and downloaded php_apcu-4.0.8-5.6-ts-vc11-x86.zip
And everything worked without errors!
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报 - Get
悬赏问题
- ¥50 求恶意流量检测系统搭建教程( C++ python C)
- ¥15 mmseqs内存报错
- ¥15 vika文档如何与obsidian同步
- ¥15 华为手机相册里面的照片能够替换成自己想要的照片吗?
- ¥15 陆空双模式无人机飞控设置
- ¥15 sentaurus lithography
- ¥100 求抖音ck号 或者提ck教程
- ¥15 关于#linux#的问题:子进程1等待子进程A、B退出后退出(语言-c语言)
- ¥20 web页面如何打开Outlook 365的全球离线通讯簿功能
- ¥15 io.jsonwebtoken.security.Keys