OpenLiteSpeed Change PHP version

I installed OpenLiteSpeed on a server. Default PHP version was 7.3. I wanted PHP 7.4 on this server. To install PHP 7.4, run

To change PHP version, i edited file


In that, find

Replace with

Now restart PHP and openlitespeed

See OpenLiteSpeed […]

Read More…

OpenLiteSpeed move Swapping Directory


By default OpenLiteSpeed use /tmp/lshttpd/swap for temp files. If your /tmp partition is small, disk may get full. To move OpenLiteSpeed swap partition to / partition do the following.

Now login to OpenLiteSpeed admin interface at

If you don’t have user name and password, you can reset it by running command

Once […]

Read More…

Install LiteSpeed Web Server

LiteSpeed Web Server

LiteSpeed is a high performance web server. Unlike most other web servers, this is a paid software, so you will need to purchase a license or get trail key before you can use it. To install LiteSpeed, download latest version of the software from At this time of writing this post, latest version of […]

Read More…

Install Zend OpCache on OpenLiteSpeed Server

Zend OpCache GUI

To install Zend OpCache on OpenLiteSpeed Server, run

Now restart PHP with command

Zend OpCache GUI Zend OpCache GUI shows stats for OpCache. This is for monitoring purpose only. You can download it from All you need to do is download the files, exact it, upload it to your web site. It […]

Read More…