S
S
Sergey2020-10-19 15:22:57
CentOS
Sergey, 2020-10-19 15:22:57

Where is php 7.4 centos 7 installed by default?

I updated the PHP version to 7.4 in the system, but for each site Apache has separate versions.
Here is the following entry for each site:
W1SXMg7YRryDhYWkda9iug.png

Added folder 74, uploaded files from php 7.4 there, unpacked, made .configure, but when make writes No targets.

oBKm50WsT1C0I00n0L990g.png

The server was inherited from hosting.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
younghacker, 2020-10-21
@sergeiy_permyakov

Using the command, you will find out which php, nginx, ahache packages are installed in the system. Team
rpm -qa | grep -i 'php\|http\|apache\|nginx'

sudo netstat -nlptx | grep -i 'php\|http\|apache\|nginx\|80\|443'

should show unix sockets and tcp listening ports.
The net-tools package must be installed.
Further actions will be based on the results of these commands.
PS.
And you don't have to play around with make and sources if you're taking your first steps in Linux. All the packages required for the webserver can be found in the repositories and the yum install command is a friend of most CentOS users.

V
Viktor Taran, 2020-10-19
@shambler81

1 which web server is
apache ?
nginx + CGI
nginx +PHP-FPM
Nginx + apache + mod_apache
nginx + apache + FAST_CGI
nginx + apache + PHP_FPM
2. Which web panel?
ispmanager
vestacp
braynicp
Ispconfig
bitrix VM
different - which one?
3. Do you have all the PHP views for all sites the same or is there an option
for 1 site nginx + apache + FPM + 7.4
and the other nginx + apache + CGI + 7.1
will then have the answer
4. What additional modules do you use curl mpdf and so on?
You can read it here
https://www.digitalocean.com/community/tutorials/h...
but I'm waiting for an answer to the questions because the methods will be different

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question