I just got a new VPS with cPanel. I use fastcgi as php handler and eaccelerator. I moved my website and everything was running fine until I needed to upload an image with php script (any file in fact)…
So if I try to upload a file less than 90kb in size everything is going OK - so it’s not a matter of permissions… if I try to upload anything above 90kb I get a 500 Internal Server Error… my first guess was to check the php.ini - so I did and the post_max_size and upload_max_filesize limit is 8mb and I’m definitely not going above the max exec / input time, memory limit is 32mb…
I’m wrecking my head long enough now and I don’t know where to look next…
Try looking into your webserver (Apache/nginx or whatever you use) error_log. That usally gives you more details on a 500 error.
It’s usually located in /var/log/($webserver_service_name)/error_log e.g. /var/log/httpd/error_log or /var/log/nginx/error_log