Relationship between MySQL and PHP

Webfoundry

Verified User
Joined
May 23, 2014
Messages
51
Location
Leuven, Belgium
This might be a stupid question but I can't find the answer anywhere :
Are MySQL and PHP bound to eachother when it comes to version-upgrades ?

For example in extremes (versions don't exist, just used as extreme example):
Can a MySQL 9.0 run with a PHP 5.1 ?
Or a PHP 7.0 with a MySQL 2.4 ?

Or do both need to be within a certain range to function together ?
 
PHP does not depend on MySQL version, however, it's recommended not to use EOL versions of PHP/MySQL. With CustomBuild 2.0, PHP just uses MySQLnd driver to connect to MySQL using a socket file, however, MySQLnd does not support old-passwords (please check https://dev.mysql.com/doc/refman/5.6/en/account-upgrades.html), so it's not recommended to use PHP with MySQL 4.1 or lower version :)
 
Back
Top