Learn about all errors with EasyApache in cPanel to solve issues. A selfhelp guide to learn & apply.
If you are recompiling Apache/PHP using EasyApache in WHM and getting an error such as the following:
make: *** [ext/date/lib/parse_date.lo] Error 1
!! 'make' failed with exit code '512' !!
!! Restoring original working apache !!
This is usually a result of having only 512MB of RAM. Compiling Apache/PHP with lots of options can easily exceed the available RAM. To fix this you need to do the following:
SSH into the VPS then type:
- service httpd stop
- service mysqld stop
- service exim stop
- service courier-imap stop
This will then enable you to compile Apache with some extra memory available by stopping various services.