Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/u743761278/public_html/UserLocation/setUserLocation.php:12 Stack trace: #0 {main} thrown in ...
关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
已采纳
php报错Call to undefined function mysql_connect()
收起
- 写回答
- 好问题 0 提建议
- 关注问题
- 微信扫一扫点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
2条回答 默认 最新
- 关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
devmiao 2017-06-04 18:35关注本回答被题主选为最佳回答 , 对您是否有帮助呢? 本回答被专家选为最佳回答 , 对您是否有帮助呢? 本回答被题主和专家选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏举报微信扫一扫点击复制链接分享评论按下Enter换行,Ctrl+Enter发表内容
报告相同问题?
提交
- 2017-04-24 20:25回答 1 已采纳 It was a mistake. I opened an issue on GitHub and its fixed now. Please try again. Should work now
- 2015-10-06 09:50回答 1 已采纳 You can try by using $mysqli = new mysqli("example.com", "user", "password", "database");
- 2012-12-11 17:12回答 13 已采纳 Well, this is your chance! It looks like PDO is ready; use that instead. Try checking to see if t
- 2020-10-29 02:14在IIS环境下,当使用PHP脚本尝试连接数据库时,可能会遇到一个常见的错误提示:"mysql_connect() - undefined function"。这个问题的出现通常意味着PHP配置中存在一些问题,导致PHP无法正确加载支持MySQL连接的扩展...
- PHP nginx mysql:致命错误:在第12行的/var/www-git/www1/api/credentials/mysql.php中调用未定义的函数mysql_connect() mysql nginx php2014-01-14 10:27回答 1 已采纳 If you are using PHP-FPM: sudo service php5-fpm restart PHP ran in its own process. Nginx confi
- 2018-11-13 08:51回答 1 已采纳 I solved the problem using Coladict comment, the pgsql wasn't loading in command line, since I was
- 2011-01-27 14:58回答 5 已采纳 Locate the correct php.ini file (check phpinfo() if in doubt) Locate the line saying extension=p
- 影流之枪的博客 今天学习PHP中连接MySQL,使用mysql_connect()函数时,碰到以下错误:“Call to undefined function mysql_connect()”,PHP版本:5.4.29MySQL版本:5.5.28Apache版本:2.2.22解决方法如下:1、httpd.conf中:...
- 2015-11-12 10:02回答 1 已采纳 You're making a new class object using $db = new DB_CONNECT();. Then after you're trying to run $r
- 2017-11-25 05:10回答 1 已采纳 although you did not mention your PHP version, it is obvious that you are using PHP with version &
- 2018-03-13 10:47回答 2 已采纳 Your problem is not the connection between your containers. The problem is your PHP / Apache conta
- 日本PLAYISM的博客 今天学习PHP中连接MySQL,使用mysql_connect()函数时,碰到以下错误:“Call to undefined function mysql_connect()”,PHP版本:5.4.29MySQL版本:5.5.28Apache版本:2.2.22解决方法如下:1、httpd.conf中:...
- 2021-01-28 12:25手雷点烟的博客 我使用的是5.6.11版本的php刚开始以为编译参数加了--with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd,就可以不能安装mysql了。但是使用了mysq_connect()函数...PHP Fatal error: Call to undefined function mysql_c...
- Cyclo-的博客 PHP7的版本,连接MYSQL8.0 Call to undefined function mysqli_connect() 因为7.x版本中已经舍弃了mysql_connect();
- 2020-10-29 05:25Fatal error: Call to undefined function curl_init()解决方法 在 PHP 编程中,curl_init() 函数是一个非常重要的函数,它用于初始化一个 cURL 会话,以便在 PHP 应用程序中实现网络请求和数据交换。然而,在某些...
- 没有解决我的问题, 去提问