FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deprecated mysql_ function in PHP 5.5.x - Upgrade of Form-Tools required ?
#1
Exclamation 
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)
Reply
#2
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
Reply
#3
(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)
Reply
#4
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?
Reply
#5
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)