Files with .php extension not working inside cgi-bin folder
Hi,
Help i am new in cpanel and website that we have migrated are not properly working, all the php files that are inside the cgi-bin directory are not working. When we check the logs we only get the errors
Thank you!
[Mon May 08 16:03:22.975305 2017] [cgi:error] [pid 31088] [client 122.52.xxx.xxx:50829] AH01215: (13)Permission denied: exec of '/home/someusr/public_html/admin.example.com.ph/cgi-bin/index.php' failed: /home/someusr/public_html/admin.example.com.ph/cgi-bin/index.php
[Mon May 08 16:03:22.976267 2017] [cgi:error] [pid 31088] [client 122.52.xxx.xxx:50829] End of script output before headers: index.php
Thank you!
-
Hi, The cgi-bin is there to execute cgi scripts. There might be some attribute to it, try removing those and see if you are able to execute it properly. 0 -
Hello, You can find discussion of this topic on the following thread: PHP downloading instead of executing only when in cgi-bin Thank you. 0
Please sign in to leave a comment.
Comments
2 comments