cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
make: *** Waiting for unfinished jobs....
Stopping crond: [ OK ]
Starting crond: [ OK ]
*******************************************
*******************************************
Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d
This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213
If you're running CentOS (not freebsd or debian) and applies to you, then type:
ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
cd /usr/local/directadmin/custombuild
./build all d
*******************************************
*******************************************
The Solution
The reason the above usually happens is lack of memory (you should have at least 512MB ) and if using OpenVZ you should have unlimited physpages as this is the other fail point for the above.
directadmin, compile, cc, submit, http, bugzilla, redhat, ext, fileinfo, libmagic, apprentice, unfinished, crond, ok, usr, bin, php, recompile, custombuild, eg, failures, centos, freebsd, debian, applies, ln, sf, lib, libexpat, libm, libssl, mb, openvz, unlimited, physpages,