Control Web Panel
WebPanel => PHP => Topic started by: jefersonsens on June 04, 2025, 11:54:46 AM
-
Hello.
I am trying to install PHP 7.4 using PHP selector, but an error is displayed in the log and the installation does not complete.
configure: error: There is something wrong. Please check config.log for more information.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Build Completed
###################
Error:Can't add notification!
-
Can you post config.log?
-
I can't find the config.log
Can you tell me where I can find it?
-
Did you look under /usr/local/src?
Also look under /usr/local/cwpsrv/htdocs/resources/conf/el*/php_switcher/ for more.
What OS are you running? CWP Pro?
-
Did you look under /usr/local/src?
Also look under /usr/local/cwpsrv/htdocs/resources/conf/el*/php_switcher/ for more.
What OS are you running? CWP Pro?
[root@cwp01 src]# ls
acme.sh build-dir imagick.tgz libavif-0.11.1.zip package.xml xcache-3.2.0
apcu-5.1.19 cwp-el7-latest intl-3.0.0 libsodium-2.0.23 pcre2-10.39 xcache-3.2.0.tar.gz
apcu-5.1.19.tgz dkim-spf.sh intl-3.0.0.tgz libsodium.tgz pcre2.zip zendopcache-7.0.5
build imagick-3.8.0 libavif-0.11.1 mod_rpaf-0.8.4 v0.8.4.tar.gz zendopcache-7.0.5.tgz
[root@cwp01 src]#
There are no files inside build either.
There are files inside build-dir but config.log does not exist.
Inside of /usr/local/cwpsrv/htdocs/resources/conf/el7/php_switcher/
[root@cwp01 build-dir]# ll /usr/local/cwpsrv/htdocs/resources/conf/el7/php_switcher/
5.2.ini 5.5.ini 7.1.ini 7.4.ini 8.2.ini info/
5.3.ini 5.6.ini 7.2.ini 8.0.ini 8.3.ini pre_run/
5.4.ini 7.0.ini 7.3.ini 8.1.ini external_modules/ versions.ini
But there is also no config.log
-
I see your running EL7 (CentOS 7), what's probably happening in the background when it's trying to build PHP is the URL's and paths needed to rebuild PHP on CentOS 7 are no longer valid, since it's past EOL.
I'm not sure if pointing you repos to the vault URL will help fix this problem or not, but it's worth a try until you can upgrade to AL9.
Here is a link to that, if you have not done it yet:
https://www.alphagnu.com/topic/534-fix-centos-7-repo-due-to-eol-could-not-retrieve-mirrorlist/ (https://www.alphagnu.com/topic/534-fix-centos-7-repo-due-to-eol-could-not-retrieve-mirrorlist/)
-
Hi,
This error occurs when you installed another version of PHP before this 7.4 installation and did not delete the message from notifications_list that the previous installation was complete...
BR
Venty