php5.3.6win32vc9x86,php-5.3.6-Win32-VC9-x86.msi配置出错

你的位置:

问答吧

-> PHP基础

-> 问题详情

php-5.3.6-Win32-VC9-x86.msi配置出错

刚装的php-5.3.6-Win32-VC9-x86.msi在IIS5.1环境,页面能正确执行<?php phpinfo() ?>,但页脚出现如下报错:

----------------------------------

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_oci8.dll' - 找不到指定的模块。

in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_oci8_11g.dll' - 找不到指定的模块。

in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_oci.dll' - 找不到指定的模块。

in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_sybase_ct.dll' - 找不到指定的模块。

in Unknown on line 0

No log handling enabled - turning on stderr logging

Cannot find module (IP-MIB): At line 0 in (none)

Cannot find module (IF-MIB): At line 0 in (none)

Cannot find module (TCP-MIB): At line 0 in (none)

Cannot find module (UDP-MIB): At line 0 in (none)

Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)

Cannot find module (SNMPv2-MIB): At line 0 in (none)

Cannot find module (SNMPv2-SMI): At line 0 in (none)

Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)

Cannot find module (UCD-SNMP-MIB): At line 0 in (none)

Cannot find module (UCD-DEMO-MIB): At line 0 in (none)

Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)

Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)

Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)

Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)

Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)

Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)

Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)

Cannot find module (SNMP-MPD-MIB): At line 0 in (none)

Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)

Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)

Cannot find module (SNMPv2-TM): At line 0 in (none)

----------------------------------

说明:重装PHP5,不行;重启系统,不行;Php.ini无手动修改过;

Paht环境变量值为:C:\PHP\;C:\Program Files\Common Files\NetSarang;%SystemRoot%\system32;%SystemRoot%;……

本机装有MySQL5。

作者: justcode

发布时间: 2011-04-08

C:\PHP\ext\目录下没有对应的文件。

如果你需要这些扩展,可以到php网站下载zip版本,复制这些dll,需要注意php的版本要和你安装的一样。

如果你不需要这些扩展,可以修改php.ini,禁用这些扩展。

作者: CunningBoy

发布时间: 2011-04-08

C:\PHP\etc\目录下有这些缺的dll,安装文件用SHAR哈希校验也是正确的。

我没有装Oracle和sybase数据库,把这四个dll屏蔽掉后,还剩如下错误:

No log handling enabled - turning on stderr logging

Cannot find module (IP-MIB): At line 0 in (none)

Cannot find module (IF-MIB): At line 0 in (none)

Cannot find module (TCP-MIB): At line 0 in (none)

Cannot find module (UDP-MIB): At line 0 in (none)

Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)

Cannot find module (SNMPv2-MIB): At line 0 in (none)

Cannot find module (SNMPv2-SMI): At line 0 in (none)

Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)

Cannot find module (UCD-SNMP-MIB): At line 0 in (none)

Cannot find module (UCD-DEMO-MIB): At line 0 in (none)

Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)

Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)

Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)

Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)

Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)

Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)

Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)

Cannot find module (SNMP-MPD-MIB): At line 0 in (none)

Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)

Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)

Cannot find module (SNMPv2-TM): At line 0 in (none)

作者: justcode

发布时间: 2011-04-08

PHP的编译版本有很多种,你需要仔细阅读它的下载说明,

如果你用在IIS5.1上,你可以需要下载VC6版本而不是VC9版本。

请仔细阅读php手册的安装部分http://www.php.net/manual/zh/install.windows.php

作者: CunningBoy

发布时间: 2011-04-08

屏蔽[PHP_SNMP];extension=php_snmp.dll后就一切正常了。我初学不知道那些dll都对应什么功能,这是我全部的php.ini内容:

[PHP]

log_errors=Off

error_log="C:\WINDOWS\temp\php-errors.log"

cgi.force_redirect=0

extension_dir="C:\PHP\ext"

date.timezone=PRC

[PHP_BZ2]

extension=php_bz2.dll

[PHP_CURL]

extension=php_curl.dll

[PHP_ENCHANT]

extension=php_enchant.dll

[PHP_FILEINFO]

extension=php_fileinfo.dll

[PHP_GD2]

extension=php_gd2.dll

[PHP_GETTEXT]

extension=php_gettext.dll

[PHP_GMP]

extension=php_gmp.dll

[PHP_IMAP]

extension=php_imap.dll

[PHP_INTL]

extension=php_intl.dll

[PHP_LDAP]

extension=php_ldap.dll

[PHP_MBSTRING]

extension=php_mbstring.dll

[PHP_MYSQL]

extension=php_mysql.dll

[PHP_MYSQLI]

extension=php_mysqli.dll

[PHP_OCI8]

;extension=php_oci8.dll

[PHP_OCI8_11G]

;extension=php_oci8_11g.dll

[PHP_OPENSSL]

extension=php_openssl.dll

[PHP_PDO_MYSQL]

extension=php_pdo_mysql.dll

[PHP_PDO_OCI]

;extension=php_pdo_oci.dll

[PHP_PDO_ODBC]

extension=php_pdo_odbc.dll

[PHP_PDO_PGSQL]

extension=php_pdo_pgsql.dll

[PHP_PDO_SQLITE]

extension=php_pdo_sqlite.dll

[PHP_PGSQL]

extension=php_pgsql.dll

[PHP_SHMOP]

extension=php_shmop.dll

[PHP_SNMP]

;extension=php_snmp.dll

[PHP_SOAP]

extension=php_soap.dll

[PHP_SOCKETS]

extension=php_sockets.dll

[PHP_SQLITE]

extension=php_sqlite.dll

[PHP_SQLITE3]

extension=php_sqlite3.dll

[PHP_SYBASE_CT]

;extension=php_sybase_ct.dll

[PHP_TIDY]

extension=php_tidy.dll

[PHP_XMLRPC]

extension=php_xmlrpc.dll

[PHP_XSL]

extension=php_xsl.dll

[PHP_EXIF]

extension=php_exif.dll

作者: justcode

发布时间: 2011-04-08

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值