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

learn more… | top users | synonyms (2)

0
votes
0answers
15 views

How to setup cron on Ubuntu 14.04 with php5-fpm [duplicate]

I have php5-fpm installed on Ubuntu 14.04 and I would like to create a cronjob to execute a script every 5 minutes.. Using crontab -e I created the following: */5 * * * * /usr/sbin/php5-fpm ...
0
votes
0answers
9 views

503 error when trying to login joomla 3.3.1

I'm facing a strange issue on joomla and would need help to solve it : The frontoffice side is working fine but when trying to log in backoffice, I get a HTTP 503 Error : [Wed Jul 29 ...
0
votes
0answers
18 views

Extension works only once in PHP FPM

I have two PHP extensions from PECL that are not working well with my PHP FPM. Both gmagick and mailparse seem to work only once. When I call the script a second time I get errors about "Undefined ...
0
votes
0answers
17 views

Many php-fpm processes created and they do not go away

I have PHP (5.5) using Laravel framework on NGINX with PHP-FPM. Here is what I do. I have a script myscript.php <?php while(true) { @file_get_contents('http://myserver.com/api/data'); } ...
0
votes
1answer
34 views

What functions are preferred to be disabled to increase webserver security? [on hold]

I'm looking into securing my webserver additionally and thinking I could disable certain PHP functions to prevent potential issues. Could someone share some tips regarding this or guide me in right ...
0
votes
1answer
32 views

PHP-FPM will not start in Docker: “shmget failed: invalid argument”

I am getting the following error when trying to start php-fpm56w in a Docker container running CentOS 6.6: [root@1b9ec42c577b conf]# service php-fpm start Starting php-fpm: [24-Jul-2015 19:37:53] ...
0
votes
0answers
33 views

intermittent php-fpm 'exit with code 1' issue

We have a number of RH EL6 boxes running apache 2.4 and php-fpm 5.5 (installed through Software collections) where a PHP application is intermittently failing with a "service unavailable" message ...
0
votes
1answer
36 views

After upgrade of NGINX and PHP-FPM, PHP stopped working and there is no error anywhere

PHP-FPM is running, NGINX is running. NGINX does read the socket for PHP-FPM. I stopped PHP-FPM and I got bad gateway error. However, nothing gets displayed. I have checked nginx/error.log and ...
0
votes
3answers
25 views

Convenient WordPress Web Directory Permissions?

I'm setting up a webserver for WordPress. WordPress requires it's stuff to be owned by www user or it has problems installing plugins and themes (asks for server FTP credentials, it's stupid, I ...
0
votes
0answers
18 views

Command with -sigusr1 and kill not restarting gracefully

I have a kill command in my /etc/logrotate.d/php-fpm file: /var/log/php-fpm-5.5.11/*log { missingok notifempty sharedscripts delaycompress postrotate /bin/kill -SIGUSR1 `cat ...
0
votes
0answers
25 views

Cannot recompile PHP on Mac OS X and enable PHP calendar

I compiled PHP 5.6.11. PHP-FPM to be more precise. It works find but I need to enable calendar. So I tried to to do: ./configure --enable-fpm --with-pdo-mysql --with-mcrypt --with-zlib ...
0
votes
2answers
41 views

Nginx. Config two sites on the same port

I'm trying to add a wikimedia site on my server, which already has another site (which doesn't use PHP) on it. I want to put it on a different folder like www.hostname.com/wiki but it would be ...
1
vote
0answers
44 views

Nginx and Apache setup with php-fpm issues. Random nginx bad gateway

I have inherited a server in which the previous administrator seemed to be using a combination of nginx and apache. I am not sure why the combination, other than someone thought nginx is being used ...
1
vote
1answer
54 views

Two separate PHP-FPM sites seem to be using the same code?

I have two websites with two codebases, yet when I change one codebase, I see the change in both. I have two checkouts of the same website. They are set up to use PHP-FPM through Apache2 with ...
0
votes
1answer
50 views

Get a blank page when view php-fpm staus on multiple pool config

I am trying to enable the nginx and php-fpm status page. I am able to get nginx status page working, but not the php-fpm. I have one site on the server, but two php-fpm pools. I have restarted nginx ...
0
votes
0answers
25 views

nginx php 5 and upload_max_files

Hi i am running up the walls i have nginx and a php-fpm Installation when i run Wordpress i get a 3MB Upload Limit in phpinfo() i find upload_max_filesize 3M At the Top i found Configuration ...
0
votes
2answers
43 views

max file size exceeded nginx php

I have NGINX server with FASTCGI php-fpm 127.0.0.1:9000 which php.ini is under /etc/php5/fpm/php.ini I increased upload_max_filesize and post_max_size in php.ini The Fastcgi params is like this ...
0
votes
1answer
48 views

php-fpm and Nginx dynamic environment variable

FPM configration stats that you can retrieve variables from your current environment. However, on ubuntu using Nginx and PHP-FPM, I can not find a way to retrieve the variable value from the ...
1
vote
1answer
38 views

php slowlog causing ptrace error in docker container

I have an AWS Linux host machine running a centos 7 docker container with 5.5.25 and php-fpm running inside it. Php is exposed outside of the docker container over port 9000 and is serving requests to ...
1
vote
2answers
62 views

PHP5-FPM pm.max_children affect RAM or CPU+RAM?

Recently inherited a Nginx+PHP5-FPM server, and I'm learning and trying to optimize PHP5-FPM settings. Server info: 4 CPUs (8 threads) 7.5 GiB RAM PHP5-FPM info: pm.max_children = 5 ...
0
votes
0answers
23 views

PHP5-FPM - Access Denied after Update

i updatet my PHP5 FPM to PHP 5.4.42-1~dotdeb+7.4. But after that i become now the error Message FastCGI sent in stderr: "Access to the script '/var/www/mysite/index.html' has been denied (see ...
-1
votes
1answer
76 views

502 errors on WordPress / nginx / php5-fpm

I've looked through lots of other Server Fault and Google results that all have talk about generally similar situations, but I can't quite find the insight that I'm looking for. I would appreciate any ...
0
votes
0answers
10 views

Login to apache website fails when using named host

Our issue seems to be when we log into a named sub-website in Firefox everything works as expected; There is nothing special about the login.php script it's simple enter name here, password there and ...
0
votes
1answer
40 views

Can't increase timeout on nginx with php-fpm

Our nginx refuses to increase the timeout for a request from the default of 60 seconds. I've already set the following parameters, but the server still gives me 504 after 60 seconds: ...
0
votes
1answer
20 views

PHP-FPM on Linux, SCHED_BATCH or SCHED_OTHER?

I have a Linux webserver (Ubuntu 12.04, kernel 3.2.0) running Magento with quite a number of PHP-FPM child processes. Since Magento is a heavy framework, I often see several child processes to baloon ...
0
votes
0answers
16 views

Is it safe to upgrade PHP5-FPM from a non-official repository

I am novice to Ubuntu... I have a production server running in Ubuntu 14.04 and I have to upgrade PHP5-FPM version to 5.5.24 from my current version.I cant find the latest version in Ubuntu official ...
2
votes
1answer
36 views

Nginx php-fpm, try_files and GET params

I'm having a problem getting nginx configuration to work. Seems like everything works fine but my php script does not receive GET parameters. The most relevant link I get on my issue is this one nginx ...
1
vote
1answer
156 views

502 errors on random (not all) pages

A few weeks ago I noticed in the Google Webmaster tools that a few of my URL's were returning 502's. One such URL is http://www.sau.com.au/forums/topic/437438-around-the-bay-wrap-up/ This URL ...
0
votes
0answers
53 views

A nginx, php-fpm, and mysql php app is very slow for no explainable reason — times out often

I have a setup of a load balancer, followed by a web server consisting of nginx, hhvm, and php-fpm. The app I speak of is using php-fpm, and all hhvm apps perform fine. When I access ...
0
votes
0answers
21 views

Starting php5-fpm process after gluster filesystem has been mounted

How can I initialize a php5-fpm process using upstart so that it starts after /etc/fstab has mounted a remote gluster filesystem? I know that in Ubuntu, this can be done by using the filesystem and ...
0
votes
0answers
194 views

Getting recv() failed (104: Connection reset by peer)

The following issue happens only when i use Laravel's @include to include other blade templates into main layout: /etc/nginx/error.log 015/06/25 23:42:34 [error] 3374#0: *1 recv() failed ...
2
votes
1answer
28 views

PHP/FastCgi - Which is the threshold over which to use nginx instead of apache

I'm a PHP developer, I have always developed on a LAMP environment and it's all gone well 'til now. At the moment, I am developing a PHP web application, still on apache and without the use of any ...
0
votes
0answers
78 views

Can not connect with imap_open but openssl s_client works

So after 2 days of trying all the solutions I could find that seemed to apply, I am still scratching my head. There must be something I am missing. I am trying to connect to a postfix/dovecot mail ...
0
votes
1answer
159 views

Apache 2.4 Event MPM + php-fpm + php-opcache yields “Connection reset by peer” errors

I have a CentOS 7 server running Apache 2.4.6 with Event MPM and php-fpm version 5.6.10 (from REMI repo). Here's the relevant Apache config to send requests to php-fpm within the vhost (it's the only ...
-1
votes
1answer
44 views

After Rebooting mysite gives blank pages

Mysite is using Ngnix, I just resized my Server's RAM, after rebooting, every thing was normal, but mysite gives me blank white page, i didn't detect any "Error logs" server { listen 80; ...
0
votes
1answer
43 views

Limit PHP-FPM memory consumption

In my php5-fpm/php.ini I have: memory_limit = 512M However, after serving a few requests, ps uxa shows: root 1130 0.0 0.3 339892 8064 ? Ss 05:29 0:00 php-fpm: master process ...
0
votes
1answer
105 views

FastCGI: “comm with server aborted: read failed” only for one specific file

Related question: FastCGI and Apache 500 error intermittently The solution does not work for me. The problem: I have a Laravel 5.1 application (was in production on other servers ...
0
votes
0answers
45 views

No script name passed to php-fpm via nginx/FastCGI

I run a PHP 5.6 instance over php-fpm without a problem (unix sockets and nginx). Today I compiled PHP 7 and also started it as a second PHP instance. While requests get served fine with the PHP 5.6 ...
0
votes
1answer
66 views

Monit unable to restart php5-fpm

Monit is correctly detecting that php5-fpm is unavailable as seen in the logs. However, it does not seem to be able to restart the service. log: [EDT Jun 11 18:04:20] error : 'php5-fpm' failed, ...
0
votes
2answers
56 views

Does Linux, Apache HTTPD or PHP cache frequently / recently accessed files?

Let's say we have a simple index.php file that goes: <?php inclde('file1.php'); inclde('file2.php'); inclde('file3.php'); Presumably, this will ultimately result in three additional ...
-2
votes
2answers
181 views

PHP opcache. 100% hits, 100% used memory [closed]

My PHP OPcache hits 100% Memory Usage General info Zend OPcache 7.0.4-dev PHP 5.5.23-1+deb.sury.org~trusty+2 Server Software nginx/1.6.2 Here are my Cache Settings: zend_extension=opcache.so ...
0
votes
0answers
26 views

PHP-FPM stops responding suddenly and resumes after 2-3 minutes

I have 4 php-fpm servers running on backend to server Php request to Nginx. Everything works fine but sometimes suddenly PHP-FPM stops responding to Nginx and resumes well in normal mode without ...
0
votes
0answers
61 views

PHP-FPM + Apache (403 forbidden message)

Im having trouble installing php-fpm. When ever I install it and open a php file i get a 403 forbiden status code Looking at the logs is see client denied by server configuration: ...
-2
votes
1answer
52 views

Conceptual doubts about Zabbix [closed]

Conceptual doubts about ZABBIX In the context of “web application monitoring”, is it possible and recommendable to have Zabbix working on a server different from the one that contains tha ...
0
votes
1answer
62 views

php-fpm: locale settings change themselves

I experienced a bug with php-fpm : locale settings change themselves randomly. Here are the correct locale settings: Array ( [decimal_point] => . [thousands_sep] => ...
1
vote
1answer
98 views

Apache ProxyPass worker name too long

I'm passing my php files to php5-fpm within my Apache .conf file however I'm receiving an error message when restarting the Apache server: ProxyPass worker name ...
0
votes
1answer
115 views

php-fpm does not work me exec or shell_exec

I have OpenBSD 5.6 and php-fpm, nginx. Is chrooted by default on /var/www I try:(test.php) <?php if(function_exists('exec')) { echo "exec is enabled"; }else{ // it's not echo "exec is ...
0
votes
1answer
33 views

APC Extension unable to load dynamic library /usr/lib/php5/20090626/apcu.so

I have installed using this Tutorial https://www.23systems.net/2009/07/installing-alterative-php-cache-apc-with-plesk-on-ubuntu/ and all is running fine. Even APC is caching everything and apc.php ...
1
vote
0answers
40 views

Apache configured as mpm_worker - why it still shows as mpm_prefork?

I believe that I properly configured Apache MPM as worker under Ubuntu 13.10, including PHP-FPM and FCGI, and disabled mod_php. When I run top I can clearly see multiple Apache (~2-3 MB) and php (~ ...
1
vote
1answer
193 views

Codeigniter in subdirectory on Nginx 404

I'm trying to setup Codeigniter in a subdirectory of my domain. Currently I only get an 404 from Codeigniter on the index page. As soon as a want to go to example.com/api/welcome/index I get a 404 ...