Questions tagged [fpm]

FastCGI Process Manager - an alternative PHP FastCGI implementation with some additional features

PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

More information can be found on http://php-fpm.org.

503 questions
0
votes
1 answer

Docker, Nginx. PHP-fpm Upload progress bar not work

I use docker-compose (php 7.2 FROM phpdockerio/php72-fpm:latest ) services: webserver: image: nginx:alpine nginx.con user nginx; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include …
Developer
  • 2,731
  • 2
  • 41
  • 71
0
votes
2 answers

nginx - php-fpm Forbidden if the index.php is not present in nginx folder

we are trying to deploy an application on GCP with kubernetes. We create a container/pod only with PHP-FPM and another with NGINX. We make the deploy and all works but when we try to get the 'helloword' php file called index.php we receive an error…
Alessandro Candon
  • 543
  • 2
  • 6
  • 21
0
votes
0 answers

Laravel "The page has expired due to inactivity" after switching fastcgi_pass from network socket to unix socket

I'm running a website on nginx and was using a network socket so far to process php, with the following conf line fastcgi_pass localhost:8000; The problem is this socket points to php7.0 and I wanted to upgrade to php7.2 (which is installed on the…
Buno
  • 597
  • 1
  • 9
  • 20
0
votes
0 answers

Docker PHP71 curl works PHP72 not working

I have a docker container that I have changed the Dockerfile from php:7.1-fpm to php:7.2-fpm. I have not made any other changes however I am unable to do HTTPS cURLs I am given the following curl error for all HTTPS requests. HTTP works…
0
votes
0 answers

PHP-FPM is not able to use OCI however PHP is

So I've installed the REMI PHP on RHEL 7. It is PHP 7.2 Also included is the Oracle Instant Client. I've set the correct LD_LIBRARY_PATH. When I run php -m it shows the module. oci8. When see if the module is installed via php Code is says YES via…
BostonMacOSX
  • 1,369
  • 2
  • 17
  • 38
0
votes
0 answers

Wordpress subdirectory install with Nginx proxy

Im trying to setup Wordpress (running in php-fpm) with Nginx as a reverse proxy with the following configuration. I have installed wordpress in /var/www/public/blog. root@1088e33c9d2d:/srv# ls /var/www/public/blog/ index.php readme.html …
nixgadget
  • 6,983
  • 16
  • 70
  • 103
0
votes
0 answers

docker-compose up -d wont start php-fpm

im windows user. i try to run laravel project with: > docker-compose up -d (based on documentation) all container running well except php-fpm error message standard_init_linux.go:190: exec user process caused "no such file or directory" when i…
0
votes
1 answer

Why php process wait another one?

This days, my server has a problem. 2 different PHP process can't run one time. Let's say if I has a PHP process running within 30 seconds. I want to run another PHP process at the same time while first process still running and not yet done. But…
Thinh Phan
  • 95
  • 1
  • 1
  • 8
0
votes
1 answer

Nginx installation with PHP

I have installed nginx and PHP into my machine. I want to know the difference between these to configuration when using PHP-fpm. > fastcgi_pass 127.0.0.1:9000; or >fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; which…
Sruthin Kumar TK
  • 161
  • 1
  • 2
  • 9
0
votes
2 answers

Nginx config - serve php files

I have a Magento install with standard NGINX config below. I need to enable connection to certain .php files in /var/www/html in order to connect with third party software. The files are ThirdPartySoftware.php and I would only like those certain…
rbur0425
  • 479
  • 8
  • 26
0
votes
1 answer

PHP configuration based on each domain user Not working when fastcgi apache server is running

I have configured php configuration for each domain account like below in the file /etc/sentora/configs/apache/phpconfig/domain_user.conf That file i have made like below. For only the particular domain.
Vignesh Kumar
  • 99
  • 1
  • 4
0
votes
1 answer

PHP-FPM Child Process Synchronous/Asynchronous?

I have coded some library that persists some data (indexed by processID) between multiple requests in same PHP-FPM process. Currently I have max_requests set to 10000. So, the data is shared between these 10000 requests, until the process dies.…
ArunKolhapur
  • 5,805
  • 4
  • 18
  • 31
0
votes
1 answer

register_shutdown_function() not working

I have 2 servers : 1) PHP Version 7.0.28-1~dotdeb+8.1 System Linux online 3.16.0-4-amd64 #1 SMP Debian 3.16.51-2 (2017-12-03) x86_64 Server API FPM/FastCGI Virtual Directory Support disabled Configuration File (php.ini) Path …
0
votes
1 answer

What can make weird changes into opcached framework code?

I encountered strange error with my php-fpm 5.6.30 with OPcache v7.0.6-dev on ubuntu server. I got error at /vendor/monolog/monolog/src/Monolog/Logger.php file concerning array_keys(static::$levels) code in it: array_keys() expects parameter 1 to…
shukshin.ivan
  • 11,075
  • 4
  • 53
  • 69
0
votes
1 answer

php-fpm: Some POST data missing when uploading a file

I'm using PHP 7.2 fpm with nginx on an Ubuntu 18.04 machine and I'm having a problem with form data getting lost. The form submits data roughly in this structure: [ 'video' => [ 'translations' => [ 'de' => [ 'title' =>…
user2792352
  • 139
  • 7