タグ付けされた質問 「kohana」

3
nginx + php-fpm-$ _GETパラメーターはどこにありますか?
ここに奇妙な問題があります。私はちょうどapache + mod_phpからnginx + php-fpmに移動しました。この1つの問題を除いて、すべてがうまくいった。 たとえば、example.comというサイトがあります。私がそれにアクセスするときexample.com?test=get_param $_SERVER['REQUEST_URI']はそう/?test=get_paramであり、$_GET['test']またあります。 しかし、私example.com/ajax/search/?search=get_param $_SERVER['REQUEST_URI']が/ajax/search/?search=get_paramまだアクセスしているときは何もありません$_GET['search']($_GET配列はまったくありません)。 Kohanaフレームワークを使用しています。どのルート/ajax/searchコントローラに、私は入れているphpinfo()時にindex.php私がチェックしてるので$_GET(disapearingのgetのparamsは、フレームワークの障害ではないことを、この手段)フレームワークは何かを行う前に、変数。 私のnginx.confはこのようなものです worker_processes 4; pid logs/nginx.pid; events { worker_connections 1024; } http { index index.html index.php; autoindex on; autoindex_exact_size off; include mime.types; default_type application/octet-stream; server_names_hash_bucket_size 128; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log …
34 nginx  php-fpm  kohana 
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.