• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved PHP Error: "Please reload the page in a few seconds."

Azurel

Silver Pleskian
Server operating system version
AlmaLinux 8.6
Plesk version and microupdate number
18.0.47
Is here something in plesk changed? Very rare user can create a php error because of memory error.

previous output was:
500 - Internal Server Error.
Please reload the page in a few seconds.
and in error_log I found the reason. Thats was perfect. Now visitors see/report the reason:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/vhosts/......./file.php on line XXXX
500 - Internal Server Error.
Please reload the page in a few seconds.

How I remove the first line? I never want that visitors see the reason or/and full script path.
I have a PHP-Error-Handler, but this error comes from php/plesk and stopps there. Is this a new bug in settings of plesk/php?
 
Have you tested with phpinfo() if the setting is actually turned off?

Also, could there be anything in your website/app that would overrule the default value for display_errors? Like for example ini_set('display_errors', 1) in any of the code?
 
Last edited:
Back
Top