Author Topic: Installing using PHP 7.4  (Read 2503 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Installing using PHP 7.4
« on: August 18, 2021, 01:55:09 AM »
Hi,


I made an installation selecting PHP 7.4 and I got a notification showing the erros listed below. Additionally, the PHP version installed with CWP is 5.6.

Do you know why is this?

Erros:
chmod: cannot access ‘/usr/local/cwp/.conf/php-fpm_conf/php74.conf’: No such file or directory
sh: /usr/local/cwp/.conf/php-fpm_conf/php74.conf: No such file or directory
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 99: /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 100: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 102: /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 execute operation: No such file or directory
Redirecting to /bin/systemctl restart httpd.service

EOL


Thank you

Offline
*
Re: Installing using PHP 7.4
« Reply #1 on: August 18, 2021, 08:10:41 AM »
Remove that php installation and try again or try installing this regular expression library

Code: [Select]
yum -y --enablerepo=epel install oniguruma oniguruma-devel
Make sure you install the latest repo by just typing the above since a vulnerability was found in Oniguruma 6.9.2
Applications Developer | RHEL Linux Server Administrator

Reach out to me in pm to solve any application deployment such as NodeJS, Java, PHP etc


Managed 40gb Shared CWP PRO Hosting for $20 p/a offer
Managed 60gb Shared CWP PRO Hosting for $40 p/a offer
Managed 100gb Shared CWP PRO Hosting for $60 p/a offer
Managed 200gb Shared CWP PRO Hosting for $120 p/a offer


CentOS 8 died a premature death at the end of 2021 - migrate to RockyLinux Os.