Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: bonbob on October 30, 2017, 04:35:06 AM
-
As i understand package php7-ext.tcz has no all of php-extensions inside. For example mCrypt is missing. I dont know what is the reason of specific list of extensions, maybe most popular of them or lightweight. But in that case users has no possibility download other neccesary php7 extensions, install it as *.TCZ and add to extension list. Only recompiling whole PHP can solve this problem. Is it right?
-
Which repo are you speaking of?
According to the CorePure64-8.x php7-mod info file, the extension used to support mcrypt, but the support was dropped.
-
PHP deprecated mcrypt in 7.1. If you're using it, you should use openssl instead. http://php.net/manual/en/migration71.deprecated.php (http://php.net/manual/en/migration71.deprecated.php)
-
PHP deprecated mcrypt in 7.1
Funny situation, more and more scripts needs to downgrade PHP version. mysql was dropped earlier, now the same became with mcrypt. So, "OC Store" has no adopted to PHP7, as "Open Cart" too.
How about PHP-FPM ver. 5.6.31? This version can exists with PHP7 together on one server and make migration between PHP versions more painless.
-
Mysql (MariaDB) is supported in php7-ext.tcz. I don't use it, but I'm guessing others do so I don't intend to drop it. PHP 5.x is no longer in active development http://php.net/supported-versions.php (http://php.net/supported-versions.php), only security fixes are being made until the end of 2018.
-
I mean this https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7#extmysql (https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7#extmysql)
-
Maybe some sed scripts could update your mysql functions to PDO, but then I can't see how well (or poorly) the code you have to work with is written.