Skip to content

Commit

Permalink
Merge pull request codeguy#588 from galdiolo/patch-1
Browse files Browse the repository at this point in the history
mysql extension removed as of PHP 7.0.0
  • Loading branch information
philsturgeon committed Aug 21, 2015
2 parents 7c6cb16 + 9733ef4 commit b430759
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _posts/07-02-01-Databases_MySQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ anchor: mysql_extension

## MySQL Extension {#mysql_extension_title}

The [mysql] extension for PHP is no longer in active development, and is [officially deprecated as of PHP 5.5.0]
[mysql_deprecated], meaning that it will be removed within the next few releases. If you are using any functions that
The [mysql] extension for PHP is no longer in active development, is [deprecated as of PHP 5.5.0]
[mysql_deprecated], and has been [officially removed as of PHP 7.0.0][mysql_removed]. If you are using any functions that
start with `mysql_*` such as `mysql_connect()` and `mysql_query()` in your applications then these will simply not be
available in later versions of PHP. This means you will be faced with a rewrite at some point down the line, so the
available in PHP 7.0.0. This means you will be faced with a rewrite at some point down the line, so the
best option is to replace mysql usage with [mysqli] or [PDO] in your applications within your own development schedules
so you won't be rushed later on.

Expand All @@ -22,6 +22,7 @@ or use [PDO].**

[mysql]: http://php.net/mysql
[mysql_deprecated]: http://php.net/migration55.deprecated
[mysql_removed]: http://php.net/manual/en/migration70.removed-exts-sapis.php
[mysqli]: http://php.net/mysqli
[pdo]: http://php.net/pdo
[mysql_api]: http://php.net/mysqlinfo.api.choosing
Expand Down

0 comments on commit b430759

Please sign in to comment.