Hi All, I want to use my php scripts using mod-cgi.
httpd.conf
AddHandler application/x-httpd-php7 php
AddHandler application/x-httpd-php7 .php
and my first.php is like
#!/usr/bin/php-cgi
<?php
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 ?
Thanks
Hemant
