Login to your OpenLitespeed webpanel, at the following url:
https://YOUR_IP:7080
Username is admin
Password you get it with this command:
cat /etc/cyberpanel/webadmin_passwd
At the OLS web admin, on the top left menu go to:
Tools → Compile PHP → PHP 7.0.33 → Next → Select “memcached” → Next → Next
Then run the command shown in the previous step, which should be:
sudo /usr/local/lsws/phpbuild/buildphp_manual_run.sh
If the command above fails with the error “mcrypt.h not found. Please reinstall libmcrypt”, install it by using:
Ubuntu:
apt install libmcrypt-dev -y
CentOS / Alma / Rocky
yum install libmcrypt-dev -y
That will take some time depending on your server speed.
Some errors may appear, i didn’t tested it.
In case other errors show up, show us the last lines from detailed log.