适用于Windows的php v 5.2.6 apache的php_imap.dll [英] php_imap.dll for php v 5.2.6 apache for windows

查看:159
本文介绍了适用于Windows的php v 5.2.6 apache的php_imap.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows Server 2003 r2上为运行apache和php 5.2.6的网络服务器安装php_imap.dll扩展程序时遇到问题.

I am having problems installing the php_imap.dll extension for a webserver running apache and php 5.2.6 on windows server 2003 r2.

我还安装了其他扩展程序,所以我了解基础知识.我已经确认我的php.ini文件指向正确的扩展目录.这是在我的php.ini配置中

I have other extensions installed so I know the basics. I have confirmed that my php.ini file is pointing the the right extension directory. This is in my php.ini config

extension=php_gd2.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_imap.dll

然后将php_imap.dll放在其他人所在的apache的/ext文件夹中.

and I put the php_imap.dll in the /ext folder of apache where the others are located.

然后在php错误日志中得到:

Then in the php error log I get:

12-Jan-2012 10:09:48] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_imap.dll' - The specified procedure could not be found.

我认为问题是我的php_imap.dll版本错误.我的版本来自Windows工作站,该工作站针对5.3版本运行wamp.这行得通.但是,当我将相同的.dll复制到运行不同版本php的服务器时,它不起作用.有人知道我在哪里可以找到php_imap.dll的正确版本吗?

I think the issue is I have the wrong version of the php_imap.dll. The version I have is from my windows workstation that is running wamp against php version 5.3. and this works. But when I copy that same .dll to the server runnning a different version of php it does not work. Does anyone know where I can find the correct version of the php_imap.dll?

http://us3.php.net/manual/zh/install.pecl.windows.php

在上述站点上,他们说我应该下载正确的版本,并且列出了一些dll,但不是我需要的dll.

At the above site they say I should download the correct version, and some dlls are listed, but not the one that I need.

PHP API 20041225
Thread Safety   enabled
Configure Command   cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"

推荐答案

如果您只需要此php_imap.dll用于php5.2.6,则可以在 5.2.6插件

If you only need this php_imap.dll for php5.2.6, you will find it in WampServer addons archive. There is a 5.2.6 addon

它不会替代您当前安装的php/apache,但是此插件包含许多PHP的非标准扩展

It will not replace your php/apache current installation, but this addon contain a lot of non standard extensions for PHP

我的建议是将其解压缩到您的工作站上,并仅将php_imap.dll拖放到Windows Server 2003 r2中的ext/文件夹中.

My advice is to extract it on your workstation, and take only the php_imap.dll and drop it in you ext/ folder in windows server 2003 r2.

希望这会有所帮助!

这篇关于适用于Windows的php v 5.2.6 apache的php_imap.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆