Comments on How to Install and Configure OpenLiteSpeed with PHP 7.4 on CentOS 8
OpenLiteSpeed is a lightweight high-performance HTTP server that comes with a Web Gui administration interface. In this tutorial, I will guide you through the installation and configuration of OpenLiteSpeed and PHP 7.4 on CentOS 8.
5 Comment(s)
Comments
sudo dnf install openlitespeed
Last metadata expiration check: 0:00:24 ago on Mon 24 Feb 2020 01:30:25 AM CET.
Error:
Problem: package openlitespeed-1.6.9-1.el8.x86_64 requires lsphp73-mcrypt, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libmcrypt.so.4()(64bit) needed by lsphp73-pecl-mcrypt-1.0.3-1.el8.7.3.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
For the libmcrypt error, you will need to enable the centos alternate repo first - https://www.cyberciti.biz/faq/how-to-enable-and-install-epel-repo-on-centos-8-x/ and then try this again
You have a typo: systecmtl start mariadb
It should be: systemctl start mariadb
For centos 8, need to add "dnf install lsphp74-json" to the list of php items to install.
Is there any way to change the php version from the command line?
I want to install litespeed on a docker container with php7.4, but by default it installs php 7.3. I have managed to install php 7.4, but now I want to change the version lite speed is using.