You are not logged in.
After updating my system, the websites on my server tt-rss and owncloud don't work anymore. The command
php -m
gives me:
PHP Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20170718
These options need to match
in Unknown on line 0
[PHP Modules]
apcu
bz2
Core
ctype
curl
date
dom
fileinfo
filter
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
soap
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
The Website tt-rss shows the message:
Startup failed
Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade. Please fix errors indicated by the following messages:
FEED_CRYPT_KEY requires mcrypt functions which are not found.
You might want to check tt-rss wiki or the forums for more information. Please search the forums before creating new topic for your question.
Owncloud only says HTTP ERROR 500 after login in.
I once had the same issue, but I downgraded back to PHP5, because I had no time. But this is no solution anymore! Now I sit for hours in front of this issue and have no idea what the problem is? Can you help me please?
Last edited by maxmoon (2017-12-15 20:17:41)
Offline
Let the tt-rss and owncloud devs know things break with php 7.2, check their bug trackers as most probably someone already reported the problem and maybe there are workarounds. In the mean time downgrade php to a version that is supported by the things you want to use.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Let the tt-rss and owncloud devs know things break with php 7.2, check their bug trackers as most probably someone already reported the problem and maybe there are workarounds. In the mean time downgrade php to a version that is supported by the things you want to use.
Is there some kind of script which can downgrade all PHP packages to version 5.6, because I don't have those packages in my cache anymore
If someone knows a more comfortable way to downgrade without downloading every package by hand, please let us know.
Offline
If tt-rss and owncloud only work with php 5.6 then I suppose you'd have to build it again from the AUR, if they work with php 7.1 it _might_ be enough to downgrade using Arch Linux Archive[1]. There is always a chance that you might have to recompile php 7.1 yourself if it depends on some library that had a soname bump in the meantime.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I had issues with mcrypt too.
The package php-mcrypt was removed in PHP 7.2, and it seems [1] that it was replaced with php-sodium
https://git.archlinux.org/svntogit/pack … 065a44c137
https://wiki.php.net/rfc/mcrypt-viking-funeral
Offline
If tt-rss and owncloud only work with php 5.6 then I suppose you'd have to build it again from the AUR, if they work with php 7.1 it _might_ be enough to downgrade using Arch Linux Archive[1]. There is always a chance that you might have to recompile php 7.1 yourself if it depends on some library that had a soname bump in the meantime.
It has been exhaustively confirmed that php 7.1 is linked to old versions of ICU, e.g. https://bugs.archlinux.org/task/56553#comment163996
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline