PHP Missing Extensions - Ubuntu 24 ARM

#1
Hi,

I'm just having my first look at OLS and have an Ubuntu 24.04.3 VM running (it's an Oracle Cloud ARM instance).

So far I've not done much:
Code:
sudo apt update
sudo apt upgrade
sudo wget -O - https://repo.litespeed.sh | sudo bash
sudo apt-get -y install openlitespeed
All good to that point but if I run
Code:
sudo apt-cache search lsphp
I don't see lot of PHP extensions / packages for 8.3/8.4 that I would I expect.

For instance running
Code:
sudo apt install lsphp84 lsphp84-common lsphp84-mysql lsphp84-gd lsphp84-opcache lsphp84-curl lsphp84-xml lsphp84-zip lsphp84-mbstring -y
I get:
Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package lsphp84-gd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lsphp84-gd' has no installation candidate
E: Unable to locate package lsphp84-xml
E: Unable to locate package lsphp84-zip
E: Unable to locate package lsphp84-mbstring
I can't see the extensions in the repo folder at https://rpms.litespeedtech.com/debian/pool/main/noble/ either (for 8.3 or 8.4). I did end up in a CentOS repo by chance and could see mbstring, xml and gd in there (https://rpms.litespeedtech.com/centos/8/update/x86_64/RPMS/)

Have I missed something obvious here?

Thanks!
 
#2
I might have the answer myself having been poking around the OLS Admin GUI and noticed that on the Compile PHP tool, the default parameters listed these modules
Code:
--with-mysqli --with-zlib --enable-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring --with-iconv --with-pdo-mysql --enable-ftp --with-zip --with-curl --enable-soap --enable-xml --with-openssl --enable-bcmath
I used phpinfo() to have a look at the enabled modules and mbstring, zip and xml are listed as Enabled, so I think they are built-in into the base install of LSPHP. Having just looked at the doc's again, I suspect this bullet point covers my query (but could that list the packages by name?)
  • All frequently used PHP packages.
I've run
Code:
sudo apt list --installed | grep lsphp
which returns
Code:
lsphp83-common/noble,now 8.3.27-1+noble all [installed,automatic]
lsphp83-mysql/noble,now 8.3.27-1+noble arm64 [installed,automatic]
lsphp83-opcache/noble,now 8.3.27-1+noble arm64 [installed,automatic]
lsphp83/noble,now 8.3.27-1+noble arm64 [installed,automatic]
so from my original attempt to install extra packages, I think I only need lsphp83-curl. Is there somewhere I can see which normally optional PHP packages are in the default lsphp build?
 
Last edited:
Top