升级到PHP5.6后,Laravel4 Pagination无法正常工作

I have a working pagination code on my machine using PHP5.4 After upgrading to PHP5.6 the pagination stays on the first page. When i clicked on the next page, the address bar show the page number (i.e: http://mysite/page?page=4). However, the button still on page 1. The same code still working on my Windows (WAMP) using PHP5.5. Fyi, im using Freebsd 9.1, Nginx, PHP5.6 (upgraded) Is there something to do with PHP itself, or am i missing some extensions?

Found extra information, I have installed laravel logviewer package on this app. The pagination that come with this package also didn't works. I suspect that, this is nothing to do with code. Maybe php or nginx config.

i finally figured it out. it's true about nginx rewrite. my previous setting in vhost file is: try_files $uri $uri/ /index.php?q=$request_uri;

i changed to try_files $uri $uri/ /index.php?$query_string;

this problem is clearly resolved.

Please check php (apache) configuration and check if required modules activated

Thanks guys, I finally solved this. However, i didn't find the cause yet.

Originally, my pagination code is like this: {{ $data->links() }}

When i use append() in the pagination, it works. {{ $data->appends(array('filter1' => $var1))->links() }}

I suspect this is something to do with nginx rewrite.