Hi folks
I’m setting wordpres 2.5 in a BSD box, running nginx 0.5.35, my basic
php setup is :
server {
listen 80;
server_name blog.bsdguy.net;
root /var/www/blog.bsdguy.net/wordpress;
index index.php;
access_log /var/www/blog.bsdguy.net/log/access.log;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?q=$1 last;
break;
}
location ~.*\.php?$ {
include /usr/pkg/etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:10000;
fastcgi_index /index.php;
fastcgi_param SCRIPT_FILENAME
/var/www/blog.bsdguy.net/wordpress$fastcgi_script_name;
}
}
before to init nginx I spawn de fcgi process with spawn-fcgi from
lighttpd:
% sudo /usr/pkg/bin/spawn-fcgi -u www -g www -a 127.0.0.1 -p 10000 -f
/usr/pkg/libexec/cgi-bin/php -P /var/run/fastcgi-php
spawn-fcgi.c.197: child spawned successfully: PID: 173
nginx start with sucess, but when I try to open the web address it
display a window trying to open a file.
I’m using NetBSD 4.0 stable, nginx 0.5.35, php5, whenever I belive
this is no matter.
Advices, tips, tricks, etc… are welcome .
Regards.
ficovh