can't install run/php

razzera

New member
Joined
Nov 27, 2022
Messages
10
Hi

I am trying yo make PHP 7.3 work on my system but i got a problem. In the error logs i see this
.
[Sun Nov 27 19:06:23.366391 2022] [proxy_fcgi:error] [pid 182246:tid 281472795406464] [client 94.254.25.51:51294] AH01079: failed to make connection to backend: httpd-UDS
[Sun Nov 27 19:06:23.369152 2022] [proxy:error] [pid 182246:tid 281472359460992] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php73/sockets/admin.sock (*:80) failed

When i try to run update on php7.3 on "update software" i get

configure: error: Unable to detect ICU prefix or /usr/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.

*** There was an error while trying to configure php. Check the configure file

What can i do ?
 
I can apparently restart PHP8.1 but not the others as the folders are empety...

root@cloud:~# /etc/systemctl restart php-fpm56.service
-bash: /etc/systemctl: No such file or directory

root@cloud:~# ps auxfw | grep php-fpm
root 885 0.0 0.0 91660 24456 ? Ss 21:06 0:00 php-fpm: master process (/usr/local/php81/etc/php-fpm.conf)
root 2969 0.0 0.0 6420 1856 pts/1 S+ 21:09 0:00 \_ grep --color=auto php-fpm

root@cloud:~# systemctl restart php-fpm81.service
root@cloud:~#

root@cloud:~# ls -l /usr/local/php81
total 32
drwxr-xr-x 2 root root 4096 Nov 27 18:50 bin
drwxr-xr-x 3 root root 4096 Nov 27 18:50 etc
drwxr-xr-x 3 root root 4096 Nov 27 18:50 include
drwxr-xr-x 4 root root 4096 Nov 27 18:50 lib
drwxr-xr-x 4 root root 4096 Nov 27 18:50 php
drwxr-xr-x 2 root root 4096 Nov 27 18:50 sbin
drwx--x--- 2 apache apache 4096 Nov 27 21:10 sockets
drwxr-xr-x 4 root root 4096 Nov 27 18:50 var

root@cloud:~# ls -l /usr/local/php73
total 0

root@cloud:~# ls -l /usr/local/php72
total 0
 
Hello,

From the error you've reported:

Please verify ICU install prefix and make sure icu-config works.

So you might install libicu-devel (CentOS) or libicu-dev (Debian) first. That is what custombuild script usually does. If it failed, then you should try and install it manually. It least will you see on why an installation of the library fails.
 
Back
Top