Michael Posted March 10, 2015 Report Posted March 10, 2015 I've not even moved to PHP 5.6 yet but I will be but PHP 7 sounds much better and they did a Windows and skipped 6 (they skipped 9). What do you think about PHP 7? sound better? look better? http://www.phpclasses.org/blog/post/242-PHP-7-Features-and-Release-Date.html PauloV 1 Quote
Paul Posted March 10, 2015 Report Posted March 10, 2015 https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7 Goodbye mysql, hello PDO! It's good some of us thought about this a long time ago. Michael, LukesUbuntu and PauloV 3 Quote
Michael Posted March 10, 2015 Author Report Posted March 10, 2015 https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7 Goodbye mysql, hello PDO! It's good some of us thought about this a long time ago. Yeah about time they get rid of mysql haha it's not good at all. Quote
PauloV Posted March 10, 2015 Report Posted March 10, 2015 Now that cPanel add MariaDB as option insted MySQL lol, and we go to PDO connectors pressure from PHP7, what the future will old? We use CloudLinux on shared enviorments on all our servers, so we use betwin PHP 4.6 and php 5.6 eheh all with latest satable MySQL from cPanel. Off topic: I hate innodb engine (if DB is corrupted it can compromise all databases stored on that engine), MyISAM is good wen corrupted but a litle slow running. In developing some APP's and Websites we sitll use old fashion MySQL with MyISAM Engine, so it will take some time for us to adapt Blesta Addons 1 Quote
serge Posted March 11, 2015 Report Posted March 11, 2015 Some of my custom script use mysqi I was preffering to pdo , do I have to worry ? Do you think mysqi will be still supported on the long run with PHP7? Quote
jbrooksuk Posted March 11, 2015 Report Posted March 11, 2015 Some of my custom script use mysqi I was preffering to pdo , do I have to worry ? Do you think mysqi will be still supported on the long run with PHP7? Not if you don't upgrade. For me PHP 7 is a massive step forward, from the tests I've ran it's at least twice as fast. Since I write my code on Laravel it's already mostly compatible, which is great! Michael 1 Quote
mrrsm Posted March 11, 2015 Report Posted March 11, 2015 Some of my custom script use mysqi I was preffering to pdo , do I have to worry ? Do you think mysqi will be still supported on the long run with PHP7? It doesn't look like mysqli is removed in php7 so you shouldn't have any issues. I personally prefer PDO just because I can almost seamlessly support multiple database types without changing any code. serge and Michael 2 Quote
serge Posted March 11, 2015 Report Posted March 11, 2015 yes, your right, I was prefering mysqli in place of PDO, because coding syntax are more close to mysql, and I'm not willing to work with other db than mysql Quote
jbrooksuk Posted March 13, 2015 Report Posted March 13, 2015 yes, your right, I was prefering mysqli in place of PDO, because coding syntax are more close to mysql, and I'm not willing to work with other db than mysql You should absolutely still use PDO, because who knows what will happen in the future. Michael 1 Quote
mrrsm Posted March 13, 2015 Report Posted March 13, 2015 You should absolutely still use PDO, because who knows what will happen in the future. At the same time who knows if PDO will be the way to go in the future (I hope it is though). I don't think it is worth converting mysqli to PDO unless you are doing a redesign that warrants it. To me PDO makes more sense as it seems to be significantly more structured in the object oriented design. mysqli seems to be the hybrid approach, it is OO but feel like it had to make some compromises to support much of the procedural stuff. That is my current opinion at least just finishing up moving a huge core database library for a project from the old mysql extension to mysqli and finally to PDO. Quote
Blesta Addons Posted March 14, 2015 Report Posted March 14, 2015 Off topic: I hate innodb engine (if DB is corrupted it can compromise all databases stored on that engine), MyISAM is good wen corrupted but a litle slow running. even if you use the var innodb_file_per_table = 1 i have though this var can avoid this situation , because every database in a separate file . Paul and PauloV 2 Quote
PauloV Posted March 14, 2015 Report Posted March 14, 2015 even if you use the var innodb_file_per_table = 1 i have though this var can avoid this situation , because every database in a separate file . lol, im always learning didnt know about the litle twick thanks naja7host Blesta Addons 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.