Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route v1.3 shows error when nginx virtaul host configuration using php8.1-fpm. #41

Open
jinlaohu opened this issue Dec 14, 2022 · 0 comments

Comments

@jinlaohu
Copy link

It's normal when using fastcgi_pass unix:/run/php/php7.3-fpm.sock;
But error shows when using php8.1-fpm.sock.
My system php -v = php 8.1 and php*-fpm service run both 8.1 and 7.3 actively.

Fatal error: Uncaught Exception: Callable error on App\clinic -> index ! in /var/www/doctor.local/vendor/nezamy/route/system/Route.php:638 Stack trace: #0 /var/www/doctor.local/vendor/nezamy/route/system/Route.php(598): System\Route->callback() #1 /var/www/doctor.local/index.php(319): System\Route->end() #2 {main} thrown in /var/www/doctor.local/vendor/nezamy/route/system/Route.php on line 638

As in Readme.md says nezamy route v1.3 is compatible with php > 5.4 and i search with no issue with php 8.1 here.

@jinlaohu jinlaohu changed the title Route v1.3 shows error when virtaul host configuration using php8.1-fpm. Route v1.3 shows error when nginx virtaul host configuration using php8.1-fpm. Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant