刚刚看到PHP5.3.7了,然后就升级了一下,结果出现了莫名奇妙的错误,高手帮忙分析一下:
Apache(2.2.17)配置SetEnv PHPRC "D:/WAMP/php-5.3.7/"
LoadFile "D:/WAMP/php-5.3.7/php5ts.dll"
LoadFile "D:/WAMP/php-5.3.7/libsasl.dll"LoadModule php5_module "D:/WAMP/php-5.3.7/php5apache2_2.dll"
PHPIniDir "D:/WAMP/php-5.3.7/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phpsphp.ini配置
extension_dir = "D:/WAMP/php-5.3.7/ext/"extension=php_openssl.dll
extension=php_pdo_mysql.dll
extension=php_pdo_sqlite.dll
extension=php_phar.dll
extension=php_curl.dll
extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_sockets.dll
extension=php_sqlite.dll
extension=php_sqlite3.dll
extension=php_exif.dll
extension=php_zip.dllphpinfo显示除一下报错的模块外全部被加载出现错误如下:
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/WAMP/php-5.3.7/ext/php_phar.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library 'D:/WAMP/php-5.3.7/ext/php_phar.dll' - 找不到指定的模块。 in <b>Unknown</b> on line <b>0</b><br />
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/WAMP/php-5.3.7/ext/php_exif.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library 'D:/WAMP/php-5.3.7/ext/php_exif.dll' - 找不到指定的模块。 in <b>Unknown</b> on line <b>0</b><br />
PHP Warning:  PHP Startup: Unable to load dynamic library 'D:/WAMP/php-5.3.7/ext/php_zip.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library 'D:/WAMP/php-5.3.7/ext/php_zip.dll' - 找不到指定的模块。也就是说php_zip.dll、php_exif.dll、php_phar.dll这三个模块没有加载,现在怀疑这三个模块依赖以下dll
glib-2.dll
gmodule-2.dll
icudt.dll
icudt46.dll
icuin.dll
icuin46.dll
icuio.dll
icuio46.dll
icule.dll
icule46.dll
iculx.dll
iculx46.dll
icutest.dll
icutest46.dll
icutu.dll
icutu46.dll
icuuc.dll
icuuc46.dll
install.txt
libeay32.dll
libenchant.dll
libenchant_ispell.dll
libenchant_myspell.dll
libpq.dll
libsasl.dll
有谁知道是具体每个模块的依赖关系或者我分析的不对帮忙说明一下原因

解决方案 »

  1.   

    升级之前用的啥版本来着?我还没升级到最新的版本不过上个版本倒是测试过正常.Security Enhancements and Fixes in PHP 5.3.7:    Updated crypt_blowfish to 1.2. (CVE-2011-2483)
        Fixed crash in error_log(). Reported by Mateusz Kocielski
        Fixed buffer overflow on overlog salt in crypt().
        Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload filename). Reported by Krzysztof Kotowicz. (CVE-2011-2202)
        Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938)
        Fixed bug #54238 (use-after-free in substr_replace()). (CVE-2011-1148)Key enhancements in PHP 5.3.7 include:    Upgraded bundled Sqlite3 to version 3.7.7.1
        Upgraded bundled PCRE to version 8.12
        Fixed bug #54910 (Crash when calling call_user_func with unknown function name)
        Fixed bug #54585 (track_errors causes segfault)
        Fixed bug #54262 (Crash when assigning value to a dimension in a non-array)
        Fixed a crash inside dtor for error handling
        Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off)
        Fixed bug #54935 php_win_err can lead to crash
        Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption)
        Fixed bug #54305 (Crash in gc_remove_zval_from_buffer)
        Fixed bug #54580 (get_browser() segmentation fault when browscap ini directive is set through php_admin_value)
        Fixed bug #54529 (SAPI crashes on apache_config.c:197)
        Fixed bug #54283 (new DatePeriod(NULL) causes crash).
        Fixed bug #54269 (Short exception message buffer causes crash)
        Fixed Bug #54221 (mysqli::get_warnings segfault when used in multi queries)
        Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters)
        Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject and SplTempFileObject crash when user-space classes don't call the parent constructor)
        Fixed bug #54292 (Wrong parameter causes crash in SplFileObject::__construct())
        Fixed bug #54291 (Crash iterating DirectoryIterator for dir name starting with \0)
        Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator)
        Fixed bug #54623 (Segfault when writing to a persistent socket after closing a copy of the socket)
        Fixed bug #54681 (addGlob() crashes on invalid flags)
        Over 80 other bug fixes.
      

  2.   

    不是升级,zip包重新配置的
    我多版本切换的,所以每个版本都是独立的!
      

  3.   

    请确认 php_zip.dll、php_phar.dll 存在!php_exif.dll 必须在 php_mbstring.dll 之后加载
      

  4.   

    均已存在,php_mbstring.dll在php_exif.dll之前加载!