Jump to content

PHP CGI Help :(


1337

Recommended Posts

Yes I know I should factory default, but I'm curious as why I'm getting this error anytime I try to view a php file from a web browser:

Unable to launch the requested GGI program:
  /usr/bin/php-cgi: Permission denied

When I do an ls -l command on the /usr/bin/php-cgi file, none of the permissions are set. When I issue the chmod u+x command on the file, I get this error now:

The CGI Process did not produce any response

In my /www directory, I have some html and php files; I'm able to view all of the html files. Could someone shed some light on this because it was working about two reboots ago. Not sure what had happen here. I have even tried deleting the /etc/config/uhttpd and /etc/php.ini files then copying them back over using the cp -rp command from the /rom directory. :(

Edited by 1337
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...