Install OpenLiteSpeed PHP 74 centos 7

30/03/2025

477 lượt xem

# rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm # yum install epel-release yum install openlitespeed # /usr/local/lsws/bin/lswsctrl start /usr/local/lsws/bin/lshttpd -v yum install lsphp74 lsphp74-common lsphp74-mysqlnd lsphp74-gd lsphp74-process lsphp74-mbstring lsphp74-xml lsphp74-mcrypt lsphp74-pdo lsphp74-imap lsphp74-soap lsphp74-bcmath lsphp74-json yum groupinstall lsphp-all TẠo addmin pass /usr/local/lsws/admin/misc/admpass.sh http://SERVER_IP:7080/ atau http://localhost:7080   Server config -> External App -> Add -> type LiteSpeed SAPI
1
2
3
4
5
6
7
Name: lsphp74
Address:     uds://tmp/lshttpd/lsphp.sock
Notes: LSPHP74 Configuration
Max Connections: 35
Initial Request Timeout (secs): 60
Retry Timeout : 0
Command :         /usr/local/lsws/lsphp74/bin/lsphp
Script Handler
1
2
3
Suffixes: php
Handler Type: LiteSpeed SAPI
Handler Name: lsphp74
Neu muon doi port, chon Listener -> edit  

Bài viết liên quan

Nền tảng các kiến thức học tập

Cùng nhau học tập, khám phá các kiến thức nền tảng về Lập trình web, mobile, database nhé.

Nền tảng kiến thức - Hành trang tới tương lai hân hạnh phục vụ Quý khách!

Khám phá, trải nghiệm ngay
NenTang - Hành trang tới tương lai