mysql_pconnect() 改为mysql_connect() 试一下

解决方案 »

  1.   

    MySQL 数据库基本操作$server =;$dbase =;$user =;$pass =;$conn = mysql_connect($server,$user,$pass);mysql_select_db($dbase,$conn);$sql = "要执行的 SQL 语句";$results = mysql_query($sql,$conn);$row = mysql_fetch_array($results);
      

  2.   

    编译php的时候有没有加--with-mysql选项
      

  3.   

    TO alongzju(alongzju),
    印象中,好像没有.那要加什么语句呢?是不是加在httpd.ini里面?谢谢!!
      

  4.   

    重新编译安装php,configure的时候加一句--with-mysql
    比如(apache 有so模块):
    ./configure --with-mysql --with-apxs=(path to apxs)
    make
    make install
      

  5.   

    不明白呀。我是在WIN2000下的系统呀。
      

  6.   

    你的PHP不支持mysql_pconnect()函数。
    什么版本?