Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  VPS FAQ  >  error while loading shared libraries:

error while loading shared libraries:

 2 min

When you are done recompiling php/apache on the server, you receive an error as below when accessing the domain.

[Sat Aug 03 03:27:44 2013] [error] [client xx.xx.xx.xx] /usr/bin/php: error while loading shared libraries: failed to map segment from shared object: Cannot allocate memory, referer:
[Sat Aug 03 03:27:44 2013] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php, referer:
[Sat Aug 03 03:27:45 2013] [error] [client xx.xx.xx.xx] File does not exist: /home/xyz/public_html/abc/sys_cpanel, referer:

Open the apache config file and comment RLimitMEM. Save the file and restart apache. RLimitMEM Limits the memory consumption of processes launched by Apache httpd children.

Special Offer!
For our Knowledge Base visitors only
Get 10% OFF! on Premium Hosting
Offer Valid till:
Claim Your Discount
No thanks, I'll pass
Note: Copy the coupon code and apply it on checkout.