Answer the question
In order to leave comments, you need to log in
How to update php to version 7 on centOS?
Installed through the console php version 7.2 I
check I check
with the phpinfo () function
What could be the problem? reboot didn't help.
Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45
Answer the question
In order to leave comments, you need to log in
The problem may be, for example, that you installed php-cli, and the Apache module, some old one, was connected, and remained.
Look in phpinfo() for which SAPI you are using and draw your own conclusions. Most likely, you will have to make changes in the web server config to get the desired version of php working in it, for example, by disabling the old mod_php and enabling the new one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question