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.
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 )
How can I link the apache and php servers? Thanks.