Date: Thu, 23 Feb 2012 22:53:25 -0500 From: alexus <alexus@gmail.com> To: freebsd-questions@freebsd.org Subject: apache22 + spawn-fcgi + php5 Message-ID: <CAJxePNJpHuBde71iN8QfPzQJfSnrZBugVpwjUxh9iyXcFA7TQA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHandler php5-fastcgi .php FastCgiExternalServer /usr/local/www/apache22/data/ -socket /var/run/spawn_fcgi.sock </IfModule> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJxePNJpHuBde71iN8QfPzQJfSnrZBugVpwjUxh9iyXcFA7TQA>