in /www/wwwroot/xiuno.com/xiunophp/xiunophp.min.php on line 40 如何解决?

zuculini@qq.com 4月前


Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /www/wwwroot/xiuno.com/xiunophp/xiunophp.min.php:40 Stack trace: #0 /www/wwwroot/xiuno.com/xiunophp/xiunophp.min.php(40): db_mysql->real_connect('127.0.0.1', 'bbs', '123456', 'bbs', 'utf8', 'innodb') #1 /www/wwwroot/xiuno.com/xiunophp/xiunophp.min.php(40): db_mysql->connect_master() #2 /www/wwwroot/xiuno.com/xiunophp/xiunophp.min.php(49): db_mysql->connect() #3 /www/wwwroot/xiuno.com/index.php(41): db_connect() #4 {main} thrown in /www/wwwroot/xiuno.com/xiunophp/xiunophp.min.php on line 40


如何解决上面的问题

最新回复 (1)
  • 军哥 4月前
    引用 2
    如果是php7请使用pdo的方式连接mysql
返回
HTTP/1.1 502 Bad Gateway Content-Type: text/html Connection: close Content-Length: 297 Date: Sun, 21 Jan 2018 18:28:18 GMT X-Via: 1.1 tianyi-124 (random:70709 Fikker/Webcache/3.7.4) 502 Bad Gateway

502 Bad Gateway - Cann't Connect To Upstream Server By SSL Read

Server: tianyi-124
Date: 2018-01-21 18:28:18

Fikker/Webcache/3.7.4