It is know issue with 4.0.10, we will release a new release to address this.
You can install it manually form shell.
cd lsws/phpbuild/php-5.2.10
make install
cp sapi/litespeed/php ../../fcgi-bin/lsphp-5.2.10
that's it.
You need to check the configuration parameters of the older PHP release, and use the same parameters to build 5.2.10, or, just stay with the older release as 5.2.10 is not that stable.