MyBB Community Forums

Full Version: Cannot figured this out! (PHP causing Error 500.)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to install MyBB but I keep getting the following error in my Apache's error_log file:
/usr/bin/php: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Cannot allocate memory

I figured it was a memory issue so I upgraded my VPS to 512MB w/ 1024MB swap but the same error persists. I can't for the life of me figure out what is wrong. I've run MyBB on a 256MB VPS in the past so I won't why I'm having issues with a 512MB one.

# free -m
             total       used       free     shared    buffers     cached
Mem:           512        460         51          0          6        186
-/+ buffers/cache:        268        243
Swap:         1023          0       1023