Hello,
I'm converting a symfony php web application from apache to symfony. Everything works for now except this case (worked on apache):
When the url is something like:
http://www.example.xxx/panel/?search=2424
( the ? is after a slash)
the $_SERVER['QUERY_STRING'] is empty and also $_SERVER['QUERY_STRING'] is set to no value.
This is my configuration:
location / {
try_files $uri /index.php;
}
location ~ "^(.+\.php)($|/)" {
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
Is it possible to make it work?
Thanks.