下面是aparch错误日志打印出的信息:
[error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
PHP Warning:  PHP Startup: Unable to load dynamic library '..\\..\\php-5.2.14-Win32\\ext\\php_mssql.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
PHP Warning:  PHP Startup: Unable to load dynamic library '..\\..\\php-5.2.14-Win32\\ext\\php_pdo_mssql.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帮忙分析.

解决方案 »

  1.   

    PHP Warning: PHP Startup: Unable to load dynamic library '
    不能加载动态库:php_mssql.dll php_pdo_mssql.dll是不是因为缺少这两个库影响了页面的执行。
      

  2.   

    应该不是,何况还是 sqlserver 的
      

  3.   

    通用,更换数据库系统只需更换 DSN 串
    当然 SQL 指令中也要顾及到差异
      

  4.   

    你连的库是php_mssql.dll,php_pdo_mssql.dll跟你代码里面$dsn = "mysql:host=localhost;dbname=php_jquery_example";不一致,一个是mssql,一个是mysql.