Almalinux 8.8 openlitespeed

#1
Hi,

I have issue with php version. I already create virtualhost for the subdomain but it still use php from server configuration.
---
[root@server ~]# dnf module list php
Last metadata expiration check: 2:23:48 ago on Mon 29 May 2023 10:11:03 PM +08.
AlmaLinux 8 - AppStream
Name Stream Profiles Summary
php 7.2 [d] common [d], devel, minimal PHP scripting language
php 7.3 common [d], devel, minimal PHP scripting language
php 7.4 common [d], devel, minimal PHP scripting language
php 8.0 [e] common [d] , devel, minimal PHP scripting language

Hint: [d]efault, [e]nabled, [x]disabled, nstalled
[root@server ~]# php -v
PHP 8.0.27 (cli) (built: Jan 3 2023 16:17:26) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.27, Copyright (c) Zend Technologies
---

Does anyone know what i miss? Haha.

Thanks.
 

Cold-Egg

Administrator
#9
Please go to Web Admin > Virtual hosts > Script Handler, and update the Suffixes from php80 to php. Restart LSWS and it should start to work.
 
Top