hello there,
i just used php-fpm & everything works fine (very fine & speedy),
but i get a problem which removed after i stop forwarding php requests to nginx php-fpm instead of apache
the problem is, when any visitor/member try to click on the subject of a post in the "Last Post" column
the post didnt open because the original url which is :
convert (when using php-fpm only & dont know why) to
from the URL, you will notice that the /vb in the original URL converted (when using php-fpm) to :0
this is the domain location configuration :
Code:
# forwarding php requests to nginx FCGI
#location ~ \.php$ {
#fastcgi_pass unix:/usr/local/nginx/php/var/run/php-fpm.sock; # Note : it is better to use UNIX socket
#include /usr/local/nginx/conf/fpm.conf;
#}
& this is fpm.conf configuration :
Code:
# main FCGI module directives
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
#fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_index index.php;
fastcgi_ignore_client_abort off;
fastcgi_intercept_errors off;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_store on;
fastcgi_store_access user:rw;
fastcgi_temp_path /tmp/nginx_fastcgi;
#fastcgi_max_temp_file_size 1G;
fastcgi_temp_file_write_size 256k;
fastcgi_buffers 4 256k;
fastcgi_buffer_size 128k;
#fastcgi_send_lowat 0;
fastcgi_pass_request_body on;
fastcgi_pass_request_headers on;
fastcgi_next_upstream off;
fastcgi_catch_stderr "PHP Fatal error:";
# FCGI caching
#fastcgi_cache cach1;
#fastcgi_cache "$scheme$host$request_uri $cookie_user";
fastcgi_cache_methods POST;
fastcgi_cache_min_uses 1;
#fastcgi_cache_path /tmp/nginx_cache levels=1:2 zone=cach1:10m inactive=10m max_size=200M;
fastcgi_cache_use_stale error timeout;
fastcgi_cache_valid 200 24h;
please could anyone here tell me what is wrong ??
&
why /vb in URL converted to :0 only when accessing post (by clicking on its name or subject) in "Last Post" column ??
any help will be appretiated,
btw, there are no htaccess codes in any folder in the account that have this problem
may all accept my best regards