I updated to PHP 7.3.20 and now I can't log in anymore

To proove, that it is not a nextcould issue, create following a php file with following code:

<html>
 <head>
  <title>PHP-Test</title>
 </head>
 <body>
 <?php echo '<p>Hallo Welt</p>';
 echo  password_hash("Test", PASSWORD_ARGON2I )


?>
 </body>
</html>

Your should see the same error in the browser and the PHP error log as logging into NC.
Even on the command line, it throws the same exception:

XXX@h2454621:~/XXXXXXXXX/htdocs$ /opt/plesk/php/7.3/bin/php ph_test.php
<html>
 <head>
  <title>PHP-Test</title>
 </head>
 <body>
 <p>Hallo Welt</p>
Illegal instruction (core dumped)

Now the big question, is it a general php issue, is it an issue how plesk compiles php or is it something related to the virtualization platform.
Ans suggestions for further test are welcome.

1 Like

In that case, if the problem is caused by PHP version from Plesk, you can draw your attention to this KB article, which describes the causes and possible solutions.

The Plesk devs confirmed the bugs and will fix it in the next update.

Also, they give downgrade instructions for those not willing to wait.

Thanks @IgorG and @maybeageek didn’t found this articles, very useful.

IgorG, I didnt realise your KB Article was my bug link. :smiley:

I had the same issue after the NC update on PHP 7.3. Could not login.

The solution was to change the Redis / Memcache settings. I changed for Redis to APCu this line:
‘memcache.local’ => ‘\OC\Memcache\APCu’
Then cleared the Redis cache. You have to wait to have this change effective. But it worked som time later.
PHP 7.4 gave also trouble. Not tried this again yet. It could be that these problems are related to IPv6. There is other code generated then with IPv4 connection.

Yesterday, the Plesk team released the update and it fixed the issue.
Login is possible again and everything is running as supposed to

2 Likes