My hosting provider Bluehost.com "upgraded" the hosting service from php ver 5 to php ver 7.3 and now all my AppGini projects do not work anymore. After investigating the differences and problems the new version 7 could bring, I found one that is causing major problems.
(consulted on php.net/manual)
"All ext/mysql functions were removed."
Now we have to choose a Mysql Appi to gain back MySQL functions or database access.
Anybody with this problem? What easy to implement alternatives are out there for us?
php ver 7+
- baudwalker
- Veteran Member
- Posts: 188
- Joined: 2015-02-03 08:08
- Location: Bellingen NSW Australia
Re: php ver 7+
Yes I went through that a few years ago. But my hosting provider has all the PHP versions available. But I could see the writing on the wall and made the changes over time.
The mysql function are now out of date. Unfortunately PHP 7 is not backwards compatible. The new functions are mysqli. AppGini is compatible with mysqli so a re-compile and upload should fix any Appgini coding. But anything you have added such as hooks will have to be upgraded top msqli.
Most of the time a simple search and replace will fix the code but there are some functions that have completely changed and will have to be recoded.
Barry
The mysql function are now out of date. Unfortunately PHP 7 is not backwards compatible. The new functions are mysqli. AppGini is compatible with mysqli so a re-compile and upload should fix any Appgini coding. But anything you have added such as hooks will have to be upgraded top msqli.
Most of the time a simple search and replace will fix the code but there are some functions that have completely changed and will have to be recoded.
Barry
- D Oliveira
- AppGini Super Hero
- Posts: 347
- Joined: 2018-03-04 09:30
- Location: David
Re: php ver 7+
you could try using msqli, pretty sure it should workpilandros wrote: ↑2020-06-12 20:24My hosting provider Bluehost.com "upgraded" the hosting service from php ver 5 to php ver 7.3 and now all my AppGini projects do not work anymore. After investigating the differences and problems the new version 7 could bring, I found one that is causing major problems.
(consulted on php.net/manual)
"All ext/mysql functions were removed."
Now we have to choose a Mysql Appi to gain back MySQL functions or database access.
Anybody with this problem? What easy to implement alternatives are out there for us?