afterlogic / webmail-lite

AfterLogic WebMail Lite PHP. Fast and easy-to-use webmail front-end for your existing IMAP mail server, Plesk or cPanel.
https://afterlogic.org/webmail-lite
GNU Affero General Public License v3.0
441 stars 120 forks source link

Updating to use `mysqli_*` #39

Closed u01jmg3 closed 8 years ago

u01jmg3 commented 8 years ago

Is there a future intention to update \common\db\mysql\ & \common\db\pdo\ to use mysqli_* over the deprecated mysql_*?

afterlogic-support commented 8 years ago

Indeed, we plan to update that in the future, there is no ETA yet though.

u01jmg3 commented 8 years ago

Would you accept a PR for this change? Are we talking within 2016? I only ask because we are using your product but plan to upgrade to a newer PHP and would like to plan whether we can continue using WebMail Lite or if we need to look for an alternative.

mailbee commented 8 years ago

Well, I don't think WebMail Lite will work with PHP7 even if you update to mysqli. So it must be much more complex change to make it work.

u01jmg3 commented 8 years ago

mysql_ is deprecated in PHP 5.6 and completely removed in PHP 7

afterlogic-support commented 8 years ago

Yes, that's right. Quick test shows that WebMail Lite works with PHP 7 just fine. I'm waiting for insight from the developers on this, but apparently mysql_* isn't used in current version of the product.

afterlogic-support commented 8 years ago

Developers confirmed WebMail uses PDO for MySQL access.