Skip to content
Advertisement

Tag: fpm

die() is not stopping code from executing

the problem is in the following: on the web browser it is executing the echo after the die(). on the CLI stops on the die() and does not shows the echo as expected. My Specs: PHP 7.4 (FPM) web server Nginx (also tried with apache with the same result) Also I had a time long a test server on windows

php-fpm: File not found in kubernetes

I’m trying to set a k8s deployment with 2 pods (nginx + php-fpm), but I can’t get php-fpm to execute the php scripts. The webpage displays File not found., and in logs : fpm pod : 192.168.3.187 – 13/Nov/2020:16:44:06 +0000 “GET /index.php” 404 nginx pod : 2020/11/13 16:44:06 [error] 20#20: *1 FastCGI sent in stderr: “Primary script unknown” while reading

where is php-fpm getting its config values on osx

I’m trying to php-fpm on my osx by running: and I get this error: i don’t have that file nor can I create it – even when using sudo: so my next big move is to find where exactly is this log file directory setup in php-fpm configuration (so that i can decide where the log file should go).. there

Advertisement