As mentioned in this thread:
http://www.litespeedtech.com/support/forum/showthread.php?t=3213
It seems that the admin web interface of LSWS is not compatible with PHP 5.3.
We've been using 5.3 for some time now but haven't needed to make any changes to our LSWS configuration since we switched. There have been quite a few LSWS releases since we switched and just today, we updated to 4.0.7.
We then tried to add a new site using the VH Templates and it wouldn't save. We received the following error in the logs:
PHP Fatal error: Call to undefined method: dtbldef->add_() in /opt/lsws/admin/html.4.0.7/classes/ws/DTblDef.php on line 30
After further investigation, this occurs on pretty much every element of the web interface. We switched back to older versions of LSWS thinking it was the newest release but it did the same thing on all versions we tried. My guess is that the web interface uses some php methods that are no longer available in version 5.3 of php.
Unfortunately, our site uses mysqlnd, a feature of 5.3, so we cannot switch back to 5.2.
We shouldn't, however, have to switch back to 5.2, as LSWS should start preparing for more clients to switch to 5.3 in the future and become compatible with it.
It shouldn't take but a few changes in the LSWS admin php code to comply with the changes, which would be backwards compatible with anyone who uses other versions of php, such as 5.2.
http://www.litespeedtech.com/support/forum/showthread.php?t=3213
It seems that the admin web interface of LSWS is not compatible with PHP 5.3.
We've been using 5.3 for some time now but haven't needed to make any changes to our LSWS configuration since we switched. There have been quite a few LSWS releases since we switched and just today, we updated to 4.0.7.
We then tried to add a new site using the VH Templates and it wouldn't save. We received the following error in the logs:
PHP Fatal error: Call to undefined method: dtbldef->add_() in /opt/lsws/admin/html.4.0.7/classes/ws/DTblDef.php on line 30
After further investigation, this occurs on pretty much every element of the web interface. We switched back to older versions of LSWS thinking it was the newest release but it did the same thing on all versions we tried. My guess is that the web interface uses some php methods that are no longer available in version 5.3 of php.
Unfortunately, our site uses mysqlnd, a feature of 5.3, so we cannot switch back to 5.2.
We shouldn't, however, have to switch back to 5.2, as LSWS should start preparing for more clients to switch to 5.3 in the future and become compatible with it.
It shouldn't take but a few changes in the LSWS admin php code to comply with the changes, which would be backwards compatible with anyone who uses other versions of php, such as 5.2.
Last edited: