Apache was installed on a centos 7
and the service is active and php has also been installed, but every time I play on nagevador, php does not run, it just shows the php code.
Checking the version with the command php -v
shows me
PHP 7.2.7 (cli) (built: Jun 20 2018 08:21:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
And the http server is active.
I'm using Centos 7