Hi All,

I want to use my php scripts using mod-cgi.

AddHandler application/x-httpd-php7 php
 AddHandler application/x-httpd-php7 .php

and my first.php is like
header('Content-Type: text/html');
print "hello php"

But when I am sending request from browser, my php page got displayed there instead of content of php page.
Permission of php file is -rwxr-xr-x
Please let me know what am I missing ?