PHP&FastCGI Problem - No input file specified - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: PHP&FastCGI Problem - No input file specified (/thread-5025.html) Pages: 1 2 |
PHP&FastCGI Problem - No input file specified - okercho - 11-28-2008 02:48 AM Hi! When I add a new domain with PHP but without CGI execution, if I put a php file in the htdocs directoty (any php file, like a index.php with a redirection, or a forum, or gallery...) I get a white page with "No input file specified" and a 404 error in log. If I delete the domain and add it again with CGI execution enabled, with THE SAME file, it works perfectly. The problem is that I can't delete all domains and add it again, becouse domains have mails and I can't delete it, and if I change the domain propeties for enable CGI, it doesn't work. If I remove fastcgi_isp module from apache, everithing works again, but ispcp gui doesn't work. I don't know what to do, any Ideas? Thanks RE: PHP&FastCGI Problem - No input file specified - joximu - 11-28-2008 02:54 AM I think the owner/permissions of the php file is not ok RE: PHP&FastCGI Problem - No input file specified - okercho - 11-28-2008 03:30 AM (11-28-2008 02:54 AM)joximu Wrote: I think the owner/permissions of the php file is not ok Thanks for your answer. I check the permissions and owner, and is everything Ok. For test purposes I chmod this file to 777 and check that htdocs and file have the rigth owner. -rwxrwxrwx 1 vu2026 vu2026 59 2008-11-27 16:28 index.php The content of the file root@Tina:cat index.php <? header("Location:http://www.google.es"); ?> When I access with firefox I have the same error: No input file specified. If I remove fastcgi module I go to google page. Thanks RE: PHP&FastCGI Problem - No input file specified - sci2tech - 11-28-2008 03:51 AM Also check /var/www/fcgi/domain.tld permissions RE: PHP&FastCGI Problem - No input file specified - okercho - 11-28-2008 03:58 AM (11-28-2008 03:51 AM)sci2tech Wrote: Also check /var/www/fcgi/domain.tld permissions The owner of /var/www/virtual/domain.tld is the same of /var/www/fcgi/domain.tld I compare the config of apache, /var/www/fcgi/domain.tld and the permissions between domains that works (that I created with cgi on) and domains that don't work (that I created with cgi off) and are the same. I couldn't find any difference... . Thanks for your help What is the difference in config files between cgi enabled and cgi disabled? I'm trying to active cgi by hand in the domains that have cgi disabled, but I don't know what are the differences. Thanks RE: PHP&FastCGI Problem - No input file specified - joximu - 11-28-2008 09:10 AM have you something in the error logs? /var/log/ispcp/suexec.log, error.log and domain-error.log ? --- cgi on or off: a block is inserted in the apache config - see the templates/parts... RE: PHP&FastCGI Problem - No input file specified - okercho - 11-28-2008 11:15 PM (11-28-2008 09:10 AM)joximu Wrote: have you something in the error logs? Finally I delete and re-add all domains (and email, sql...) yesterday night. I will see the logs and put them here later. Thanks RE: PHP&FastCGI Problem - No input file specified - givre - 12-11-2009 06:37 PM Hi all , I have the same problem... Last version of ispcp apache2 + FCGID Debian Lenny After migrate to another server all php say : No input file specified. Here more informations Code: /var/log/apache2/users# ls -l /var/www/ Quote:ns2:/var/log/apache2/users# ls -l /var/www/fcgi/ |grep blockdegivre Quote:ns2:/var/www/fcgi/blockdegivre.jed.st# ls -la Quote:ns2:/var/www/fcgi/blockdegivre.jed.st/php5# ls -l Error.log Code: [Fri Dec 11 09:13:29 2009] [notice] mod_fcgid: call /var/www/virtual/blockdegivre.jed.st/htdocs/wiki/index.php with wrapper /var/www/fcgi/blockdegivre.jed.st/php5-fcgi-starter At the firt, all was ok, and php exec as well. But now, in dont understand why, it doesn't work Thanks for your help RE: PHP&FastCGI Problem - No input file specified - joximu - 12-11-2009 10:16 PM See Post#6 RE: PHP&FastCGI Problem - No input file specified - givre - 12-12-2009 12:04 AM domain.tdl error log: Quote:[Fri Dec 11 14:55:53 2009] [notice] mod_fcgid: call /var/www/virtual/blockdegivre.jed.st/htdocs/wiki/index.php with wrapper /var/www/fcgi/blockdegivre.jed.st/php5-fcgi-starter /var/log/ispcp/suexec.log No file... apache2 error.log nothing |