GoogleCloudPlatform / GoogleCloudPlatform/php-docs-samples

Web server(Nginx) cannot find the entry point to the PHP application

Open
#2,068 0 comments 2 reactions 0 assignees View on GitHub
samples
Dominant language
PHP
Stars
1k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 169....., server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/layers/google.php.webconfig/webconfig/app.sock:", host: "laravel-947******.asia-south2.run.app", referrer: "https://console.cloud.google.com/"

Getting the above error when deploying image built using buildpack.
**Affected PHP versions:** 8.1 and 8.2.

Same source code works fine on app engine with runtime php81

Also i'm running pack build on mac silicon. with rosseta virtualization.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.