Author Topic: PHP-selector instalation problem  (Read 87 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP-selector instalation problem
« 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.

Code: [Select]
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!

Offline
*****
Re: PHP-selector instalation problem
« Reply #1 on: June 04, 2025, 12:54:26 PM »
Can you post config.log?

Offline
*
Re: PHP-selector instalation problem
« Reply #2 on: June 04, 2025, 01:32:24 PM »
I can't find the config.log
Can you tell me where I can find it?

Offline
*****
Re: PHP-selector instalation problem
« Reply #3 on: June 04, 2025, 02:25:37 PM »
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?

Offline
*
Re: PHP-selector instalation problem
« Reply #4 on: June 04, 2025, 05:33:51 PM »
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?

Code: [Select]
[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/

Code: [Select]
[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

Offline
*****
Re: PHP-selector instalation problem
« Reply #5 on: June 05, 2025, 05:24:53 AM »
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/
« Last Edit: June 05, 2025, 05:29:01 AM by Starburst »

Offline
***
Re: PHP-selector instalation problem
« Reply #6 on: June 05, 2025, 02:44:24 PM »
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