Installation of PHP 7.4 fail with Version Switcher (Centos 8)

Started by Richardmax, December 19, 2020, 04:15:06 PM

Previous topic - Next topic

Richardmax

Hi,

I am trying to install PHP 7.4 from "Version Switcher" panel but the compiler shows an error every time:

...
Dependencies resolved.
Nothing to do.
Complete!
...
buildconf: Run ./configure to proceed with customizing the PHP build.
configure: WARNING: unrecognized options: --enable-zip, --enable-wddx, --with-mcrypt, --with-gd, --with-jpeg-dir, --with-png-dir, --with-xpm-dir, --with-freetype-dir, --enable-gd-native-ttf
...
checking for re2c... no
configure: error: re2c 0.13.4 is required to generate PHP lexers.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


This is a non-production server Centos 8. Default php 5.6 version

Any tips?  :-\

chrisg

According to the log, the program re2c is not installed. Try installing it via cwp terminal:
yum install -y re2c