admin管理员组

文章数量:1391943

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/gorilla911/public_html/wp-includes/wp-db.php on line 1520

Notice: Undefined index: acb5ec in /home/gorilla911/public_html/wp-content/plugins/user-role-editor/includes/class-ure-screen-help.php on line 1

I checked my PHP version and it's 5.6.31. Also, I can not access wp-admin.

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/gorilla911/public_html/wp-includes/wp-db.php on line 1520

Notice: Undefined index: acb5ec in /home/gorilla911/public_html/wp-content/plugins/user-role-editor/includes/class-ure-screen-help.php on line 1

I checked my PHP version and it's 5.6.31. Also, I can not access wp-admin.

Share Improve this question edited Aug 30, 2016 at 9:51 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Aug 30, 2016 at 9:18 Vivek TamrakarVivek Tamrakar 2542 silver badges16 bronze badges 2
  • any one help me – Vivek Tamrakar Commented Aug 30, 2016 at 10:29
  • Try to ask a different question. This question is answered, and you should accept the answer. – Josip Ivic Commented Aug 30, 2016 at 14:35
Add a comment  | 

1 Answer 1

Reset to default 1

The MySQL extension:

  • Is not under active development
  • Is officially [deprecated][1] as of PHP 5.5 (released June 2013).
  • Has been removed entirely as of PHP 7.0 (released December 2015)
  • Lacks an OO interface
  • Doesn't support:
    • Non-blocking, asynchronous queries
    • [Prepared statements][2] or parameterized queries
    • Stored procedures
    • Multiple Statements
    • Transactions
    • The "new" password authentication method (on by default in MySQL 5.6; required in 5.7)
    • All of the functionality in MySQL 5.1

Since it is deprecated, using it makes your code less future proof.

本文标签: mysqlDeprecated mysqlconnect()