OLSW Webadmin console uses different PHP version

PaulK

New Member
#1
This might look a weird issue, but I'm struggling with it for a while now and I can't find a solution.
In the Server Configuration I've configured LSPHP84 as the default PHP handler to be used for all virtual hosts. This all works fine, no errors in the logs of the virtual hosts, and they all work with LSPHP 8.4.

The weird thing is that only the Web Console (running on port 7080) seems to use PHP 8.3 for some reason. A part of the stderr.log:
Code:
PHP Warning:  PHP Startup: tidy: Unable to initialize module
Module compiled with module API=20240924
PHP    compiled with module API=20230831
These errors / warnings only appear when I use the Webadmin console.
In the WebAdmin settings I can't find any option to select the PHP handler. Can someone tell me how I can change the Admin Console to PHP 8.4?

I'm using OLSWS on Debian 13 (trixie), just using the repositories.
 
#2
This setting isn’t configurable via the web admin, and we don’t recommend changing it yet since the OpenLiteSpeed package is not ready for Trixie yet. If something breaks, you won’t be able to reinstall it for now.

If you really need to customize the admin PHP, update the /usr/local/lsws/admin/fcgi-bin/admin_php symbolic link to point to lsphp84.
 
Top