flightphp / core

An extensible micro-framework for PHP
https://docs.flightphp.com
MIT License
2.63k stars 409 forks source link

I got 404 after switch fastcgi php-fpm #354

Closed dingzhanjun closed 8 months ago

dingzhanjun commented 6 years ago

My site worked fine, after switching to fastcgi, I got 404 error for every path, but the regular php works. can anyone please help? Thanks! Evn: Apache 2.4 Ubuntu 14.04 php 5

angarsky commented 6 years ago

The same issue. I get 404 status, but a page is delivered. Detected this error after an update from the v1.3.2 to the v1.3.5. The v1.3.2 worked fine.

The issue is not reproduced at my local machine (PHP is a Apache module), but it reproduced on a stage instance (PHP-FPM, nginx - Pantheon hosting).

magikstm commented 8 months ago

Seems like a webserver or .htaccess issue and not a FlightPHP one.

I think this issue can be closed.

n0nag0n commented 8 months ago

I agree.