Solved: 4 Years, 2 Months, 3 Weeks ago Updated PHP
Solved: 4 Years, 2 Months, 3 Weeks ago
(2018-07-08, 02:05 PM)Citrus Wrote: Alright did some messing around and finally found the solution.

I backed up my site and removed it from my host then uploaded a fresh copy of MyBB and installed it while having PHP7 and it worked fine. I then removed the fresh install and re-uploaded my site and for some odd reason it works on PHP7 now? Confusing how that was the solution.

Thank you.

Is that with My BB 1.8.16? If yes, that's why.

I've just updated to this version over the weekend and can confirm it has no issues with php 7.2.7 now. (MyBB 1.8.15 don't work with 7.2.7 before).
Solved: 4 Years, 2 Months, 3 Weeks ago
(2018-07-08, 09:45 AM)effone Wrote:
(2018-07-08, 09:12 AM)Ben Cousins Wrote: This isn't correct. I can still apt-get php7.2-mysql. And it works.

The mysql() function was removed, not the driver.

Quote from Wiki PHP voting:
Quote:The mysql extension has been deprecated since PHP 5.5. The mysqli or PDO extension should be used instead. The deprecation has been decided in mysql_deprecation, where a discussion of the reasons behind this decision can be found.

If ext/mysql is removed as a bundled extension, it can still be made available as a PECL extension.

Vote result: Yes:28, No:12


Further read:

Its not impossible to have the extension present in a custom built (like bitnami one) package.

And again: the extension is not the driver. They are two different things.

Forum Jump:

Users browsing this thread: 1 Guest(s)