This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
PHP Selector / Error to install different PHP Versions FPM
« on: December 08, 2020, 04:04:17 PM »
Hello, I use Version CentOS Linux release 8.3.2011,
but it is not possible to install different PHP Version FPM.
I received always the error :
checking for libwebp... no
configure: error: Package requirements (libwebp) were not met.
Log:
checking for libwebp... no
configure: error: Package requirements (libwebp) were not met:
Package 'libwebp', required by 'virtual:world', not 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 WEBP_CFLAGS
and WEBP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 98: /opt/alt/php-fpm74/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 99: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 101: /opt/alt/php-fpm74/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
Failed to enable unit: Unit file php-fpm74.service does not exist.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
I use in a other installation CentOS Linux release 8.2.2004
without any problems.
Did you have a solution ?
Thanks for your help.
but it is not possible to install different PHP Version FPM.
I received always the error :
checking for libwebp... no
configure: error: Package requirements (libwebp) were not met.
Log:
checking for libwebp... no
configure: error: Package requirements (libwebp) were not met:
Package 'libwebp', required by 'virtual:world', not 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 WEBP_CFLAGS
and WEBP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 98: /opt/alt/php-fpm74/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 99: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 101: /opt/alt/php-fpm74/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
Failed to enable unit: Unit file php-fpm74.service does not exist.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
I use in a other installation CentOS Linux release 8.2.2004
without any problems.
Did you have a solution ?
Thanks for your help.
Pages: [1]