PHP7.4环境下,mysql库似乎不兼容
Sunny-Law opened this issue · 1 comments
Sunny-Law commented
安装正常,安装完成后打开主页输出一下错误信息:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /data/app/lylme_spage/include/db.class.php:153 Stack trace: #0 /data/app/lylme_spage/include/common.php(16): DB->__construct('172.17.0.1', 'lylme_spage', 'FzoxIJ5G$', 'lylme_spage', 3306) #1 /data/app/lylme_spage/index.php(8): require('/data/app/lylme...') #2 {main} thrown in /data/app/lylme_spage/include/db.class.php on line 153
Sunny-Law commented
已解决,需要安装mysqli扩展