Questions tagged as 'php-fpm'

1
answer

How does PHP-FPM work?

Well, I have a question regarding the PHP-FPM concept. From what I understand through the documentation, is it a PHP module that manages requests to the server to avoid high loads, or am I wrong? How can it benefit in performance?     
asked by 25.05.2017 / 16:32
1
answer

How do I show the path of the php script by running the ps command from linux?

How do I find out the script path (ex: /var/www/html/script.php ) of PID of PHP by command ps of linux? I have a big problem, I have some PHP script consuming a lot of memory and cpu, when I give the command ps aux | gr...
asked by 23.01.2017 / 20:35
1
answer

PHP process to work after multiple / simultaneous requests in Ngnix

The problem I created a process using PHP to work with Nginx like this: @echo off echo Starting PHP FastCGI... set PATH=C:\nginx\php;%PATH% C:\nginx\php\php-cgi.exe -b 127.0.0.1:9000 -c C:\nginx\php\php.ini pause But if more than 500 req...
asked by 10.10.2014 / 20:56
2
answers

How to make NGinx display error messages on screen in the same way that Apache does instead of '502 bad gateway'

NGinx and Apache display errors differently when there is a problem running a PHP script. Apache, when configured to display on screen, accurately displays the error, with file and line where it occurred, but NGinx typically only displays someth...
asked by 05.02.2014 / 17:42
1
answer

How to use the "php_admin_value" flag in virtualhost through PHP-FPM in a specific Virtual Host?

I decided to swap Apache2Handler with PHP-FPM on my server. After this change, I tried to run sudo apache2ctl configtest and got the following error:    AH00526: Syntax error on line 53 of /etc/apache2/apache2.conf :   Invalid co...
asked by 02.10.2017 / 16:34
1
answer

Problem using CODEIGNITER on Nginx server

My site was hosted on UOLHOST and worked perfectly with the following .htaccess RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRul...
asked by 26.12.2015 / 00:37
0
answers

Nginx disconnecting two subdomains

Hello, I'm having problems with two subdomains, I checked the tail I found this error: 2018/06/15 13:02:11 [error] 13456 # 13456: * 807 connect () to unix: /var/run/php7.1-fpm-esf.sock failed (11: Resource temporarily unavailable) while connecti...
asked by 15.06.2018 / 16:08
1
answer

I can not install PHP-FPM on Ubuntu

When I try to run the command sudo apt install php5.6-fpm , I'm getting the following message:    Some packages could not be installed. This may mean that   you asked for an impossible situation or, if you are using the   that some requ...
asked by 02.10.2017 / 14:39
0
answers

Detailed error log in PHP-FPM

I'm looking at the PHP-FPM error log but it does not tell me much information about what's going on. See: [27-Oct-2018 11:51:04] NOTICE: [pool www] child 31981 started [27-Oct-2018 11:51:04] WARNING: [pool www] child 31947 exited on signal...
asked by 27.10.2018 / 17:32
0
answers

Amazon Linux AMI nginx + php-fpm-7.1

I'm trying to install nginx + php-fpm-7.1 but I'm lost with regard to users and permissions. I did so: yum install -y nginx php71-fpm php71-devel php71-pdo php71-pear php71-mbstring php71-cli php71-odbc php71-imap php71-gd php71-xml php71...
asked by 31.05.2018 / 01:03