I have same problem, but i dont have php.ini in /usr/local/lsws/lsphp5/lib
tried locate php.ini give me
/usr/local/Zend/etc/php.ini
/usr/local/lib/php.ini
/usr/local/lsws/add-ons/cpanel/lsws_whm_plugin/php.ini
/usr/local/lsws/add-ons/directadmin/php.ini
/usr/local/lsws/admin/conf/php.ini
/usr/local/lsws/admin/misc/php.ini
/usr/local/lsws/php/php.ini
which one to copy to /usr/local/lsws/lsphp5/lib ?