I have a server running Centos 6. I recently upgraded PHP to 7.2 from the remi repo and Apache to 2.4 via the sclo (httpd24).
Code: Select all
[user@server1 ~]$ httpd -v
Server version: Apache/2.4.34 (Red Hat)
Server built: May 28 2020 08:47:33
[user@server1 ~]$ php -v
PHP 7.2.33 (cli) (built: Aug 4 2020 10:02:54) ( NTS )
My issue is if i put an phpinfo() in /var/www/html, my browser didn't show anything, and if i open the source i only see the php code.
How can I link the apache and php servers? Thanks.