I'm from China,too.by zhxd - New Member Introductions
It says that,now: Error: CGI app returned no output - Executing /xxxxx/xxxxx/cgi-bin/install.cgi failed !by zhxd - Nginx Mailing List - English
Configure perl-fcgi on nginx. Sourcecode compile FCGI、IO、IO-String、IO-All、Getopt,and install them. insert perl-cgi in nginx.conf,and start perl-cgi startscript. But my web visit the cgi,it says that: No such CGI app - /web/cgi-bin/test.cgi may not exist or is not executable by this process. I test where havn't a cgi file,then visit the doesn't exist file. It says that: No such CGI aby zhxd - Nginx Mailing List - English
Resolved.:)by zhxd - Nginx Mailing List - English
I sourcecode compile install FCGI-0.67,and install nagios. I think the CGI can execute,now. But I found that,when I visit cgi url,Web browser tell that:502 Bad Gateway I found error in nginx error.log: 2010/08/16 14:07:51 1720#0: *3 connect() to unix:/usr/local/nginx/logs/nginx-fcgi.sock failed (111: Connection refus ed) while connecting to upstream, client: 219.139.240.250, server: nagiby zhxd - Nginx Mailing List - English
I insert php-fpm into system service.and I can use service command control php-fpm service. there has php-cgi processes in my system: # ps aux | grep cgi www 3126 0.0 0.1 92620 2868 ? S 23:53 0:00 /usr/local/php/bin/php-cgi --fpm --fpm-config /usr/local/php/etc/php-fpm.conf www 3127 0.0 0.1 92620 2868 ? S 23:53 0:00 /usr/local/php/bin/php-cgi --fpmby zhxd - Nginx Mailing List - English
Well, I think I have found the idea of the. Piotr,please do not reply to me first. :) Let me think about themselves first. I think I can solve it.:)by zhxd - Nginx Mailing List - English
Thanks for Piotr's reply! I sourcecode compile nginx with '--enable-fastcgi' '--enable-fpm' '--enable-force-cgi-redirect',before I do it,I patch the php-fpm for php,and I want to use FastCGI to execute CGI with nginx. Your mean my nginx can't execute CGI,that isn't my config havn't error? Then,what I need to do? Thank you!by zhxd - Nginx Mailing List - English
Hi,all! I sourcecode compile nginx php(with php-fpm)on CentOS. It can execute PHP,now. I ceate a website by cgi,but it can't execute CGI. When I visit the cgi url,it show the cgi file download window. There show my php-fpm.log: Aug 14 20:50:58.231470 fpm_got_signal(), line 48: received SIGCHLD Aug 14 20:50:58.231533 fpm_children_bury(), line 215: child 4041 (pool default) exited on signby zhxd - Nginx Mailing List - English
Hello,everyone! I come here. Hope to share with you more...by zhxd - New Member Introductions