Uncaught Error: Call to undefined function mysql_connect() [duplicate]

你离开我真会死。 提交于 2019-12-08 15:24:38

问题


Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\phoenixproject\register.php:9 Stack trace: #0 {main} thrown in C:\xampp\htdocs\phoenixproject\register.php on line 9

How to solve this??


回答1:


It is most likely MySql extensions are not being loaded. Open your php.ini file and check if extension=php_mysql.dll and extension=php_mysqli.dll is uncommented



来源:https://stackoverflow.com/questions/34599244/uncaught-error-call-to-undefined-function-mysql-connect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!