Form Tools
Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Feature Suggestions (https://forums.formtools.org/forumdisplay.php?fid=7)
+--- Thread: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? (/showthread.php?tid=5021)



Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - alexboss - Feb 4th, 2015

Dear Form-Tool developers,

According to http://php.net/manual/en/migration55.deprecated.php :
Quote:The original MySQL extension is now deprecated, and will generate E_DEPRECATED errors when connecting to a database. Instead, use the MySQLi or PDO_MySQL extensions.

A little grep on mysql_ in Form Tools returns a huge number of results which leads to the conclusion that there is no abstraction layer / PDO for the database operations.

Are there any plans to add an abstraction layer / PDO to Form Tools so that it copes perfectly with PHP 5.5.x ? It might not be necessary to have drivers for numerous DBs at the moment, but at least MySQLi.

What do you think?

Thanks a lot and best regards,

Alexandre 8)


RE: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - simplescience - Aug 10th, 2015

Just a note.. need to be very careful not to force existing users beyond PHP 5.3. There are numerous users that we are aware of that could not easily do that, and upgrading would break their installations. Not that it shouldn't be done. Just that is shouldn't be done without clear and loud warnings.

Just my .02. Wink


RE: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - alexboss - Aug 10th, 2015

(Aug 10th, 2015, 8:21 AM)simplescience Wrote: Just a note.. need to be very careful not to force existing users beyond PHP 5.3. There are numerous users that we are aware of that could not easily do that, and upgrading would break their installations. Not that it shouldn't be done. Just that is shouldn't be done without clear and loud warnings.

Just my .02. Wink

I agree but using PDO or any DB abstraction layer would solve the issue and prevent breaking installations.

Alexandre 8)


RE: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - bill09 - Dec 9th, 2015

I was curious about this also. I have many sites using FT.

Would running a tool such as:
https://github.com/philip/MySQLConverterTool and making the proposed changes kill a FT installation?


RE: Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ? - AbbyWaldock - Mar 18th, 2020

Forum tools were available at this it has some suggestions on it that was good to have among the download links that were at this. You have to get services that were at rush my essay reviews this was known among the ports or can explain data through facts to read on it.