Ubuntu 16.04.1 and php7 #343
Comments
I have yet to test fM with php7, but perhaps this is your solution. http://stackoverflow.com/questions/35424982/how-to-enable-mysqli-extension-in-php-7 |
Unfortunately no.... I had not found the reference to enable mysqli in php7. Needed to add it to the file and this is what is in php.ini for mysql now: /etc/php/7.0/apache2$ fgrep "mysql" php.ini |
I guess it's time to change fM to use mysqli. :) |
Until fM supports mysqli, this should work as an interim. http://www.phpclasses.org/package/9199-PHP-Replace-mysql-functions-using-the-mysqli-extension.html |
This is now included in 3.0-alpha1 and later. |
FYI, running through this in the alpah version and the website will load at this point. Getting this error: Your PHP installation appears to be missing the mysql extension which is required by facileManager. Let me know if I can get you any more info. |
Ah, that check was missed. If you edit fm-includes/init.php line 62, remove 'mysql' from the array. I'll get this check fixed for the next pre-release. |
Thanks Jon. Made the change manually, server went through the upgrade process just fine. All of the clients updated as well. |
FYI, looks like this is broken again. Tried the lastest from the 3.0 branch on github as well. Apache is up and running but the main page won't load at all. You can get the login page to load (after removing mysql from the array in init.php) but after attempting to log in, it'll just sit there and spin. |
linked to #353 |
Is there a build version I can download and test on 16.04.1 that corrects this? Happy to test and start using that. If not, is there an ETA for that build? |
The latest unstable version that includes this fix is 3.0-alpha2. |
Well totally jacked myself up tonight. The upgrade to 16.04.1 didn't go well. It doesn't install php by default during the upgrade and host of other problems. The site won't load and getting a bunch of error logs that leads me to this:
http://stackoverflow.com/questions/34557221/php-undefined-function-mysql-connect
Basically looks like FM is us mysql_connect, which is no longer support in php7. But I could have just as easily missed a package install that was removed during the upgrade.
Anyone else running FM on 16.04.1 with php7 on apache?
The text was updated successfully, but these errors were encountered: