4.0.12 lsws/admin/html/utility/build_php/buildconf.inc.php is pointing to lsapi 4.1.
Will you update it to 5.2 and the others to the newest versions?
define ('LSAPI_VERSION', '4.10');
define ('SUHOSIN_VERSION', '0.9.29');
define ('APC_VERSION', '3.1.3p1');
define ('XCACHE_VERSION', '1.3.0');