php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70201 mysql connection is removed?
Submitted: 2015-08-06 10:15 UTC Modified: 2015-08-06 12:05 UTC
From: wantedxenon at hotmail dot com Assigned: cmb (profile)
Status: Not a bug Package: *General Issues
PHP Version: 7.0.0beta3 OS: Windows 8.1
Private report: No CVE-ID: None
 [2015-08-06 10:15 UTC] wantedxenon at hotmail dot com
Description:
------------
PHP Fatal error:  Uncaught Error: Call to undefined function mysql_connect()

Test script:
---------------
mysql_connect($dbhost, $dbuser, $dbpass)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-06 12:05 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2015-08-06 12:05 UTC] cmb@php.net
The MySQL extension has been deprecated since PHP 5.5.0 (actually
it was recommended against already much longer), and has been
removed as of PHP 7.0.0, see
<https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7#extmysql>.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 07:01:32 2024 UTC