Error when compile php7.2.12

#1
I get error:
Code:
Uncaught Error: Class 'IntlDateFormatter' not found in /opt/lsws/DEFAULT/html/.......****
so i try compile php7.2.12 with Configure Parameter --enable-intl
and get error:

Code:
checking for location of ICU headers and libraries... not found
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
**ERROR** Could not configure PHP build
i have latest libicu-dev ...

info:
LiteSpeed Web Server Enterprise 5.3.7
Ubuntu 18.10


Help!
 
Last edited by a moderator:
#4
So i install lsphp 7.2 now i have error: The [I]mysqli[/I] extension is missing. Please check your PHP configuration

i check php.ini and i have uncoment
extension=mysqli

in phpinfo there is ...
--with-mysqli=shared,mysqlnd
 
Last edited by a moderator:
#6
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:apt:packages
need update which is up to lsphp 7.1

but you can
apt-cache search lsphp72
to find all lsphp 7.2 packages.

looks you need
apt-get install lsphp72-mysql
Thanks!

Can You help with this last error ?
Code:
The following packages have unmet dependencies:
 lsphp72-intl : Depends: libicu52 (>= 52~m1-1~) but it is not installable
E: Unable to correct problems, you have held broken packages.
 
#8
how about
apt-cache search libicu
?
Yes i did:
apt-get install lsphp72-intl

and come this error:
Code:
The following packages have unmet dependencies:
lsphp72-intl : Depends: libicu52 (>= 52~m1-1~) but it is not installable
E: Unable to correct problems, you have held broken packages.
Info:
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
Code:
### My /etc/apt/sources.list.d/lst_debian_repo.list

deb http://rpms.litespeedtech.com/debian cosmic main

deb http://archive.ubuntu.com/ubuntu bionic cosmic main restricted universe multiverse
 
Last edited by a moderator:
Top