Cannot compile php 7.1 and above

#1
I would like to run PHP7.4. Currently running 7.0.
However, the compilation from tools always results in this error:

Code:
configure: error: Package requirements (oniguruma) were not met:

No package 'oniguruma' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
**ERROR** Could not configure PHP build
But this package is installed.

Any help is mch appreciated.
Both the PKG_CONFIG or setting the ONIG - flags is a little bit beyond my knowledge.

Erik
 

Attachments

Last edited:

Cold-Egg

Administrator
#2
Hi,

The PHP7.4 packages are already available on the LiteSpeed repo. e.g.
`apt-get update; apt-get install lsphp74 lsphp74-common lsphp74-curl`
`yum update; yum install lsphp74 lsphp74-common lsphp74-curl`
 
Top