你的php配置选项是什么样的?给写出来。

解决方案 »

  1.   

    ./configure --prefix=/usr/local/php --with-mysql=/usr/lib/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --enable-debug --enable-url-includes --enable-sockets --enable-force-cgi-redirect --enable-calendar --with-config-file-path=/usr/local/lib --with-zlib --with-freetype-dir --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext --with-iconv --with-png-dir --with-zlib --with-xml
      

  2.   

    晕~要这么多做什么?
    上面的错误说明你的mysql配置有问题了!
      

  3.   

    将--with-mysql指定为你安装MYSQL客户端的实际路径