phpThumb
phpThumb copied to clipboard
Cannot allocate memory & HTTP 500 error
Hi!
We get these error messages a few days ago on our old website:
error_log:
(12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/budape25/public_html/..../..../phpThumb.php, referer: ......
console:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) : phpThumb.php
environment:
php 5.6
phpthumb 1.7.15-201704271708 (latest from github - Updated from the previous version, but errors are coming with this version too)
memory: 256M
a simple shared hosting server, only with cpanel access
phpthumb and standard website caching is set
phpThumb.demo.check.php report is good, everything is green, except php_sapi_name(), that is yellow
After some force refresh all images are loaded, what can make this error?
Any advice that could help solve the problem?
Thanks!
@er2es
Hey, I'm experiencing the same issue, did you manage to find a solution?
hi, in our case the problem is the cheap hosting solution was. (the hosting service has poorly configured apache server)
Try your app on localhost, or other free hosting solution. (try hostinger)
we use cloudwasy, and no problem, phpthumb run smoothly with significantly less memory requirements