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
Reported by cepheid on 18 Jun 2013 00:30 UTC as Trac ticket #1489178
On a system with PHP v5.2.x, the installer's MySQL check will always return "NOT OK" since PHP v5.3.x is required. However, if another DB is available (e.g. sqlite), the installation should be able to proceed. It does not -- the installer will claim that the error must be fixed before proceeding.
This occurs because installer/check.php (line 142) registers a failure ($RCI->fail) for MySQL. Then, installation is blocked if ANY failures exist (check.php, lines 237-242). However, the installer itself specifically says only ONE of the DB methods must be available... it should not fail simply because MySQL isn't available, if another DB method (e.g. sqlite) is available.
A workaround is to edit installer/rc_install.php and comment out the pdo_mysql check (line 54). This will allow the installer to proceed. This is, of course, not the correct solution. The optimal solution is to modify check.php so that it will error out only if MySQL fails AND no other DB solution is available. That is, if ANY DB solution is available, there should not be a failure.
I can provide a screenshot if necessary.
(Note: I have verified on my own system that installation and operation proceed just fine with the workaround above. I am using sqlite3 with php v5.2.x.)
Reported by cepheid on 18 Jun 2013 00:30 UTC as Trac ticket #1489178
On a system with PHP v5.2.x, the installer's MySQL check will always return "NOT OK" since PHP v5.3.x is required. However, if another DB is available (e.g. sqlite), the installation should be able to proceed. It does not -- the installer will claim that the error must be fixed before proceeding.
This occurs because installer/check.php (line 142) registers a failure ($RCI->fail) for MySQL. Then, installation is blocked if ANY failures exist (check.php, lines 237-242). However, the installer itself specifically says only ONE of the DB methods must be available... it should not fail simply because MySQL isn't available, if another DB method (e.g. sqlite) is available.
A workaround is to edit installer/rc_install.php and comment out the pdo_mysql check (line 54). This will allow the installer to proceed. This is, of course, not the correct solution. The optimal solution is to modify check.php so that it will error out only if MySQL fails AND no other DB solution is available. That is, if ANY DB solution is available, there should not be a failure.
I can provide a screenshot if necessary.
(Note: I have verified on my own system that installation and operation proceed just fine with the workaround above. I am using sqlite3 with php v5.2.x.)
Migrated-From: http://trac.roundcube.net/ticket/1489178
The text was updated successfully, but these errors were encountered: