You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current stable release of Porter (2.4, Oct 2018) has hardcoded mysql_* functions in it, creating problems for folks now missing this extension (it is long since deprecated).
In the latest master there appears to have been a config.php added that defines a DB_EXTENSION to be used, one of mysql, mysqli, or pdo. The default is PDO. The issue with this is that we're adding a configuration step that is nearly impossible with how make.php works; it creates a giant monolithic file (by design) that will be challenging for the user to edit. (I should note at this point I'm not even sure that make.php has been updated to work with the new DB setup.)
Rather than manually setting the DB_EXTENSION, it should automatically chosen based on extension availability. Prefer PDO, then mysqli, then mysql. That absolves the user of needing to select, and the preference order is fairly clear so I don't see a drawback to doing this automatically.
Let's please get a working version of this released to open source with priority now that we know the current version is going to fail for modern servers.
The text was updated successfully, but these errors were encountered:
linc
added
the
Blocker
This issue or PR is blocking another issue or PR from being started or completed.
label
Jul 30, 2019
The current stable release of Porter (2.4, Oct 2018) has hardcoded
mysql_*
functions in it, creating problems for folks now missing this extension (it is long since deprecated).Examples:
In the latest
master
there appears to have been a config.php added that defines aDB_EXTENSION
to be used, one ofmysql
,mysqli
, orpdo
. The default is PDO. The issue with this is that we're adding a configuration step that is nearly impossible with howmake.php
works; it creates a giant monolithic file (by design) that will be challenging for the user to edit. (I should note at this point I'm not even sure that make.php has been updated to work with the new DB setup.)Rather than manually setting the
DB_EXTENSION
, it should automatically chosen based on extension availability. Prefer PDO, then mysqli, then mysql. That absolves the user of needing to select, and the preference order is fairly clear so I don't see a drawback to doing this automatically.Let's please get a working version of this released to open source with priority now that we know the current version is going to fail for modern servers.
The text was updated successfully, but these errors were encountered: