how to change apache2handler to cgi-fcgi in CentOs 7 32 BITs?

Issues related to applications and software problems
Post Reply
Windows
Posts: 59
Joined: 2021/06/16 13:20:01

how to change apache2handler to cgi-fcgi in CentOs 7 32 BITs?

Post by Windows » 2022/04/16 14:46:19

hello I have this:

armv7l 32 bits
CentOS 7.9
Apache/2.4.6
PHP 5.4.16

Code: Select all

[root@localhost ~]# lscpu
Architecture:          armv7l
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
Model:                 4
Model name:            ARMv7 Processor rev 4 (v7l)
CPU max MHz:           1400.0000
CPU min MHz:           600.0000
BogoMIPS:              38.40
Flags:                 half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
You have new mail in /var/spool/mail/root

[root@localhost ~]# more /etc/redhat-release
CentOS Linux release 7.9.2009 (AltArch)

[root@localhost ~]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built:   Mar 24 2022 14:58:21

[root@localhost ~]# php -v
PHP 5.4.16 (cli) (built: Apr  1 2020 06:27:24)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
[root@localhost ~]#
how I can change to cgi-fcgi without use vhost (change to) ?

becose currently I use:
https://192.168.20.67

then if I change/configure/use vhost I lost access using https://192.168.20.67


Windows
Posts: 59
Joined: 2021/06/16 13:20:01

Re: how to change apache2handler to cgi-fcgi in CentOs 7 32 BITs?

Post by Windows » 2022/04/17 11:39:51

remirepo wrote:
2022/04/17 05:41:01
I think this is explained in
https://developers.redhat.com/blog/2017 ... tion-tips/
many thanks, 100% efective !!

:-)

Now my armv7l 32 bits is running CentOs 7 with PHP fpm-fcgi.

However,
I need run PHP as cgi-fcgi, please: what others changes I need apply for run PHP as cgi-fcgi?

Post Reply