How to Change PHP version in OpenLiteSpeed

I installed OpenLiteSpeed on a server. The default PHP version was 7.3. I wanted PHP 7.4 on this server. To install PHP 7.4, run apt install -y lsphp74 lsphp74-apcu lsphp74-common lsphp74-curl lsphp74-dbg lsphp74-dev lsphp74-igbinary lsphp74-imagick lsphp74-imap lsphp74-intl lsphp74-ioncube lsphp74-json lsphp74-ldap lsphp74-memcached lsphp74-modules-source lsphp74-msgpack lsphp74-mysql lsphp74-opcache lsphp74-pear lsphp74-pgsql lsphp74-pspell lsphp74-redis lsphp74-snmp lsphp74-sqlite3 lsphp74-sybase lsphp74-tidy To change … Read more

OpenLiteSpeed move Swapping Directory

OpenLiteSpeed

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. mkdir -p /lswstmp/lshttpd/swap chmod 750 /lswstmp/lshttpd chmod 700 /lswstmp/lshttpd/swap chown -R nobody:nobody /lswstmp/lshttpd Now login to OpenLiteSpeed admin interface at https://your-server-ip:7080/login.php If you don’t have user … 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 https://www.litespeedtech.com/products/litespeed-web-server/download 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 apt install -y lsphp73-opcache Now restart PHP with command killall -9 lsphp Zend OpCache GUI Zend OpCache GUI shows stats for OpCache. This is for monitoring purpose only. You can download it from https://github.com/amnuts/opcache-gui All you need to do is download the files, exact it, upload it … Read more