From owner-freebsd-questions@FreeBSD.ORG Fri Feb 24 03:53:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8182C106564A for ; Fri, 24 Feb 2012 03:53:26 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 17FCC8FC08 for ; Fri, 24 Feb 2012 03:53:25 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so1662538wgb.31 for ; Thu, 23 Feb 2012 19:53:25 -0800 (PST) Received-SPF: pass (google.com: domain of alexus@gmail.com designates 10.216.131.234 as permitted sender) client-ip=10.216.131.234; Authentication-Results: mr.google.com; spf=pass (google.com: domain of alexus@gmail.com designates 10.216.131.234 as permitted sender) smtp.mail=alexus@gmail.com; dkim=pass header.i=alexus@gmail.com Received: from mr.google.com ([10.216.131.234]) by 10.216.131.234 with SMTP id m84mr249464wei.24.1330055605267 (num_hops = 1); Thu, 23 Feb 2012 19:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=pLshXPbP9G9lePkzfLhb0fhhJopbrDYFE0OZW0xX9UI=; b=YhWf0y+1H0shSV/qiBIGlNIHM3z3sGWhQyKbt7r2HFrJBKOQlWjFdyIKjbYvE+UigF TMCPXlZwbBUceXhNAPVuIj89yNVMexfzIPAyFQDWDA1J1oY5mROyvoub0TysDYwwxHCi K5HbcdH4G8qj586JCPklXtx3TPzMq4LMgByOs= MIME-Version: 1.0 Received: by 10.216.131.234 with SMTP id m84mr208861wei.24.1330055605193; Thu, 23 Feb 2012 19:53:25 -0800 (PST) Received: by 10.216.186.141 with HTTP; Thu, 23 Feb 2012 19:53:25 -0800 (PST) Date: Thu, 23 Feb 2012 22:53:25 -0500 Message-ID: From: alexus To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: apache22 + spawn-fcgi + php5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 03:53:26 -0000 LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so AddHandler php5-fastcgi .php FastCgiExternalServer /usr/local/www/apache22/data/ -socket /var/run/spawn_fcgi.sock wx3# ls -al /var/run/spawn_fcgi.sock srwxrwxrwx 1 www www 0 Feb 24 02:41 /var/run/spawn_fcgi.sock wx3# when I try to access my IP I'm getting following on my screen I get: No input file specified. error_log: [Fri Feb 24 03:43:56 2012] [notice] Apache/2.2.21 (FreeBSD) mod_ssl/2.2.21 OpenSSL/0.9.8q DAV/2 mod_python/3.3.1 Python/2.7.2 mod_fastcgi/2.4.6 configured -- resuming normal operations access_log: 74.90.214.65 - - [24/Feb/2012:03:50:03 +0000] "GET / HTTP/1.1" 404 25 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.39 Safari/535.19" and when I'm trying to hit my ip/phpinfo.php (phpinfo();) my browser just downloads phpinfo.php to my computer access_log 74.90.214.65 - - [24/Feb/2012:03:52:17 +0000] "GET /phpinfo.php HTTP/1.1" 200 20 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.39 Safari/535.19" any ideas? -- http://alexus.org/