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

Uncaught RedisException: session_write_close()

So I have a website running joomla, and I tried setting the session handler to redis from CMS admin dashboard. I am getting the following error on homepage and every other page of the website I visit. Error: Failed to start application: Connection…
Mohd Abdul Mujib
  • 13,071
  • 8
  • 64
  • 88
0
votes
0 answers

Multiple instances of the same PHP project using classes from the wrong directory

We have a web server with 4 vhosts of the same project (for different countries). Our setup is Apache24 with PHP-FPM running 5.6. We use the composer autoloader with our classes directory following the PSR-0 autoloading standard. The composer…
Adam Copley
  • 1,495
  • 1
  • 13
  • 31
0
votes
1 answer

Docker PHP:FPM 7.2 can't set session.save_handler, it always default to "files"

I'm currently trying to update the "session.save_handler = files" and "session.save_path = null" to my own values but they always default to files. In my case I have setup the php redis extensions and I would like to setup to "session.save_handler =…
0
votes
1 answer

PHP FPM do not display errors

php5.6-fpm on ubuntu /etc/php/5.6/fpm/php.ini display_errors = on error_reporting = E_ALL /etc/php/5.6/fpm/pool.d/www.conf php_flag[display_errors] = on php_flag[display_startup_errors] = on Anyway, errors displayed in nginx error log, not in…
Akhmed
  • 1,141
  • 4
  • 21
  • 49
0
votes
1 answer

PHP Thread compilation not working

I am attempting to use pthreads with Apache FPM. Step 1. After installing and recompiling php according to: https://blog.programster.org/ubuntu16-04-compile-php-7-2-with-pthreads The server works as expected and I can run pthreads from CLI. Step…
pigfox
  • 1,301
  • 3
  • 28
  • 52
0
votes
2 answers

/etc/php/7.0/fpm/zz_overrides.ini isn't effective (isn't counted) after server restart

In Ubuntu 16.04 with Nginx (LEMP) I created the file /etc/php/7.0/fpm/zz_overrides.ini. The file contains only this code: [PHP] post_max_size = 2000M upload_max_filesize = 2000M max_execution_time = 3000 cgi.fix_pathinfo=0 After creating the file I…
Osi
  • 1
  • 3
  • 9
  • 30
0
votes
0 answers

php-fpm can't start up "unknown entry '$listen'"

I install php7 on centos7,but I use 'systemctl start php-fpm' command, it can't startup,so I execute "systemctl status php-fpm.service",and get the result below: # systemctl status php-fpm.service ● php-fpm.service - The PHP FastCGI Process Manager …
敬錞 潘
  • 852
  • 1
  • 14
  • 29
0
votes
1 answer

Accessing bin directory through nginx/fpm - php

I have a been using a library called Unoconv. (Please note that in my local ubuntu [virtualbox-homestead], it's working as expected, but not in AWS.) $unoconv = Unoconv::create([ 'unoconv.binaries' => '/usr/bin/unoconv', ]); This is what I call…
senty
  • 12,385
  • 28
  • 130
  • 260
0
votes
1 answer

Is php notices influences to data size sending to nginx?

i use nginx and php7.1-fpm. In case when i have a bunch of notices in error log, at end i get in logs error and error 502: *5 upstream sent too big header while reading response header from upstream If i increase buffers size in nginx all works…
Hayate
  • 653
  • 1
  • 9
  • 25
0
votes
3 answers

NGINX 502 bad gateway error in Docker for Windows and Symfony 4

I'm trying to set up Symfony 3 in Docker on a Windows machine with NGINX and PHP-FPM. At the moment, I get a 502 bad gateway error. I changed the FPM port from 9000 to 8000 because on my host, port 9000 is already in use by a hyper-v service…
progonkpa
  • 3,590
  • 9
  • 31
  • 50
0
votes
0 answers

nginx [error] 20819#20819: *1 connect() to unix:/run/php/php7.0-fpm.sock failed (11: Resource temporarily unavailable)

I am not expert in nginx server and fpm, i suddenly got this error many times but i cannot figure what causing this issue : I am running on server Intel Xeon D - 32 GB of RAM - 2 x2TB RAID SOFT - Connection speed 1 Gbps 2017/12/06 23:37:58…
Q8root
  • 1,243
  • 3
  • 25
  • 48
0
votes
0 answers

docker nginx Connection Refused while connect to php fpm

I'm new to docker,I have created some containers for web service.All containers run well, but the nginx container cannot access to the phpfpm container.I have checked the configure file, but found nothing,It maybe network issue, I have googled many…
aiddroid
  • 51
  • 6
0
votes
1 answer

Why php exec, system and passthrough functions stopped working if FPM is enabled

Hello Guys I am average in server configuration.I am using php exec function to run some commands in my website.But it stopped working if i enable PHP-FPM. Anybody knows why it cause this issue ? Below is php function to run the command $cmd="pdftk…
Manoj Dhiman
  • 5,096
  • 6
  • 29
  • 68
0
votes
0 answers

The stream or file "/path/to/project/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied on Fedora 26

I was trying to setup my development workstation on Fedora 26. So I install Nginx, php-fpm and MySQL 5.7. I also change the user who execute php on /etc/php-fpm.d/www.conf I put my fresh laravel installation on /var/www/html/ and change the owner of…
KevDev
  • 541
  • 2
  • 6
  • 20
0
votes
1 answer

POST-ing to php-fpm increases disk i/o writes

I'm sending POST data about 100KB to my application and it causes php-pfm process to create many pipes and write to disk. I'm wondering how this can be avoided. PID USERNAME VCSW IVCSW READ WRITE FAULT TOTAL PERCENT COMMAND 3915 www …
edo888
  • 398
  • 2
  • 12