• 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 Error Http 500

andre_c

New Pleskian
Server operating system version
Ubuntu 22.04.2 LTS
Plesk version and microupdate number
18.0.51
Good morning everyone,

on osticket installation 1.16.6 on platform

Linux 5.15.0-72-generic #79-Ubuntu SMP Wed Apr 19 08:22:18 UTC 2023 x86_64

Ubuntu + plesk - php v. 8.0.29

When printing it does not load the page and issues http 500 error


error log

AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) in /var/www/vhosts/DOMAIN/httpdocs/roadmap1/include/mpdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php on line 661', referer: http://DOMAIN/roadmap1/scp/tickets.php?id=1


I tried to make the change via plesk>php bringing it from 120 to 50000 but the problem persists with the same error
 
Are you using Nginx or Proxy mode? I find that I had to use Proxy mode so it uses Apache instead of Nginix with osTicket for all the features to work correctly.
 
The issue is not the max runtime, but the max RAM size your script can use. You try to do image processing. That can consume a lot of RAM. I suggest to update the max RAM per script execution to something higher, e.g. 512 MB.
 
The issue is not the max runtime, but the max RAM size your script can use. You try to do image processing. That can consume a lot of RAM. I suggest to update the max RAM per script execution to something higher, e.g. 512 MB.
Thank you very much! Issue resolved
 
Back
Top