dshafik/php7-mysql-shim
View on GitHub ↗ ★ 392 PHP
A shim for ext/mysql in PHP 7+
4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2016-03-14 · latest 2020-10-23
20082026
-
…the code's using mysql_* functions, which aren't present in PHP7, there's a shim to make them work: https://github.com/dshafik/php7-mysql-shim 8. Good luck! I like unpicking codebases like this and keeping them running. As a sibling…
comment by pbowyer · 2020-10-23 · in PHP 8: Before and After -
…codebases and they work great for allowing new development to move onto modern PHP. While I'm using https://github.com/dshafik/php7-mysql-shim , another to look at is https://github.com/mattbit/mysql-compat
comment by pbowyer · 2019-07-19 · in PHP 5 and 7.0 end of life -
…but there are drop in libraries that shim the old mysql_* functions to their mysqli_* equivalents. https://github.com/dshafik/php7-mysql-shim It won't be 100% perfect and it's definitely not something I'd want to use long term, but it can…
comment by philo23 · 2019-07-19 · in PHP 5 and 7.0 end of life -
…that did bite us post-rollout, which didn't show up in development was this php7-fpm bug[1]. [0]: https://github.com/dshafik/php7-mysql-shim [1]: https://github.com/php/php-src/pull/1720
comment by Judson · 2016-03-14 · in How Badoo Saved $1M Switching to PHP7