Announcement

Collapse
No announcement yet.

500 Internal Server Error on cPanel server with using PHP files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 500 Internal Server Error on cPanel server with using PHP files

    I'm facing errors as follows on the cPanel Server by using PHP files:
    Code:
    [error] [client *.*.*.*] Premature end of script headers: index.php
    [error] [client *.*.*.*] File does not exist: /home/*username*/public_html/500.shtml
    [error] [client *.*.*.*] /usr/bin/php: error while loading shared libraries: libplc4.so: failed to map segment from shared object: Cannot allocate memory
    [error] [client *.*.*.*] Premature end of script headers: index.php
    [error] [client *.*.*.*] File does not exist: /home/*username*/public_html/500.shtml

  • #2
    Check the RLimitMEM setting in the apache configuration with the following command: -

    grep RLimitMEM /etc/httpd/conf/httpd.conf
    Also you can increase the limit or comment the parameter in httpd.conf and restart service httpd

    /etc/init.d/httpd restart

    Comment

    Working...
    X