S9y on php-cgi
Flavius Aspra <[email protected]>
| Newsgroups | gmane.comp.serendipity.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi
I'm trying to run s9y latest version on a nginx + php-cgi setup.
However php "dies" in the middle of the execution, while installing.
To be precise, the last line being output is somewhere around
serendipity_admin.php:355: <td class="serendipityAdminContent"
colspan="2">
The PHP setul is a pretty regular one: 128M ram, all settings set as
recommended by S9Y install script.
The nginx one looks like this:
user http http;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
include fastcgi.conf;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_max_temp_file_size 0;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
server {
listen <public ip>:80;
server_name blog.example.com
access_log /var/log/nginx/blog.access_log;
error_log /var/log/nginx/blog.error_log warn;
root /srv/http/s9y;
index index.php index.html;
fastcgi_index index.php;
location ~ \.php {
include /etc/nginx/conf/fastcgi_params;
keepalive_timeout 0;
fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9000;
}
}
}
Other scripts work with this, phpinfo()'s output also.
So what may be going wrong?
Greetings,
Flavius Aspra
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev