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)

-1
votes
0answers
4 views

Apache + Php-fpm +wordpress Errors

Hey Guys i have blog that running on apache2.4 php5.6 and php-fpm to handle my wordpress blog. Iv been running the setup for sometime with no problems but off late i have been noticing the following ...
-1
votes
0answers
11 views

PHP 7 as PHP-FPM application, user and groups are www-data [on hold]

I would like to switch from FastCGI application to PHP-FPM, but if I do so from the PHP settings of a domain that I manage under Plesk 12.5, the user that is executing the application is www-data, ...
-1
votes
0answers
13 views

How can I check PHP7 FPM file Syntax on Centos

Hi I am using Centos 7 with PHP7 on a staging server and PHP5.X on another server. On the Centos 7 with PHP7 I get in touch with a problem that could be a permission problem but everything is ok ...
0
votes
0answers
16 views

WordPress slow through CloudFlare with PHP-FPM

I am running multiple WordPress sites and one Symfony app on the same server, all of them are using CloudFlare. While the Symfony app has the expected loading time etc, the WordPress sites are ...
0
votes
2answers
36 views

Permission Denied to PHP Files on Centos 7 with nginx

I have problem WHAT I DID Install Centos 7.2 with nginx 1.10 -- create a nginx server block sudo mkdir -p /var/www/example.com/html -- set permission sudo chown -R nginx:nginx /var/www/example.com/...
0
votes
0answers
22 views

New Apache 2.4 MPM-Event server: (22) Invalid argument: ap_queue_pop failed

After ordering and setting up a new web server (64bit, 4 vCores, 6GB RAM, Ubuntu 14.04) with Apache 2.4.7 (and PHP7 fpm) with worker but during busier traffic hours Apache crashes. The error log is ...
0
votes
0answers
12 views

Configuring nginx + Laravel to not execute any other PHP files

I have a Laravel application hosted on nginx, using a fairly standard php-fpm configuration. There should be no need to execute any other PHP files on the server, except for one specific script that ...
0
votes
0answers
18 views

Varnish: Ignore cookies

I currently run a site running WordPress (in the document root) and a forum script (in site.com/forums/), and I'm using Varnish to cache WordPress. I don't, however, want to use Varnish to cache the ...
2
votes
1answer
41 views

Trouble with nginx and PHP-FPM

I am having trouble getting my webserver (nginx) to work with php-fpm. The page keeps loading and then the loading time expires. I hope one of you can help me resolve this issue. I have made an ...
3
votes
2answers
46 views

Start PHP-FPM with root option automatically

I was trying to get PHP-FPM running a pool as root, but I can't seem to adjust the init.d startup params. It works when starting PHP-FPM from the CLI (with sudo php-fpm7.0 -DRy /etc/php/7.0/fpm/php-...
0
votes
0answers
16 views

Using nginx with nagios3, getting blank page

I'm trying to set up nagios3 with nginx on Ubuntu 14.04, and I'm having some trouble that I hope someone can shed some light on. I just get a blank page, instead of the expected Nagios page. It seems ...
1
vote
0answers
18 views

How to specify FastCGI parameters with Apache mod_proxy_fcgi?

The PHP-FPM documentation says that it's possible to pass custom php directives from the web server, and there's an example for Nginx. Is it possible, and how, to do the same using Apache-2.4 and ...
1
vote
2answers
73 views

.htaccess file not loaded for PHP files

I am trying to work out why my .htaccess is not being considered when loading a .php file. Below files sit in the webroot of my localhost. .htaccess # Cause a HTTP 500 test file.html <html>&...
0
votes
1answer
24 views

503 Bad gateway for php only html works fine

I have configured aws instance from amazon ec2 linux image and configured nginx and php on server. Server serves html pages normally but don't serve php pages and also shows 503 Bad gateway error when ...
0
votes
1answer
20 views

nginx download php script on HTTP but not in HTTPS

I'm nginx with php-fpm on my server. I configured nginx with SSL (Let's Encrypt) and made HTTPS the default instead of HTTP. The problem is that when accessing the web via HTTP the php file is ...
0
votes
1answer
13 views

Configuring Jetty for FastCGI has worked, but how to add virtual hosts?

On CentOS 7 Linux I have successfully followed the guide Configuring Jetty for FastCGI. However the $JETTY_BASE/webapps/jetty-wordpress.xml file in the guide serves a single Wordpress installation ...
0
votes
1answer
126 views

how do i start php7.0-fpm with supervisord?

I am trying to build a dockerized ubuntu 16.04lts with apache2 and nginx with php7.0-fpm commands i have used but did not work [program:php-fpm7.0] command = /usr/sbin/php-fpm7.0 --daemonize --fpm-...
0
votes
1answer
75 views

Apache with PHP-FPM - PHP doesn't execute

I have compiled PHP 7 with FPM support using this tutorial on CentOS 7.x environment. I was able to test the php through CLI by running. cd /opt/php7/bin ./php --version Which outputs PHP 7.0.6 (...
1
vote
1answer
119 views

PHP7 + OpenSSL-1.0.2h on CentOS 7 [Nginx 1.11.1]

Since yesterday, I've applied OpenSSL-1.0.2h to my Nginx server, which I both recompiled from source. For the OpenSSL part, I've followed this guide: https://syslint.com/blog/tutorial/how-to-upgrade-...
0
votes
0answers
3 views

How to specify time format for php-fpm pool access.format

When configuring a PHP5-FPM pool, one can specify the format for all access log entries by setting the value for access.format. The default provided .conf file stated: ; %t: server time the ...
1
vote
0answers
18 views

xdebug remote centos host from mac

I have a server running CentOS7, PHP7.0.7 with php-fpm, and SELinux. I am trying to debug a PHP script running on that server. And I have a Mac machine that runs PHPstorm where I intend to do the ...
0
votes
0answers
69 views

apache 2.4 and php-fpm - switch from using ProxyPassMatch to SetHandler?

I recently upgraded a CentOS 6.8 server I have from Apache 2.2.x to Apache 2.4.20 using the httpd24u and related packages. I also upgraded to using php-fpm and have that working reasonably well for ...
1
vote
2answers
51 views

PHP parse error syntax error, unexpected end of file

I keep getting this error when i was on a LEMP setup nginx 1.10/PHP 7 and i thought it was because of PHP 7 and now i setup a new server with nginx 1.4.6/PHP 5.5.9 2016/06/19 15:45:18 [error] 4094#0: ...
0
votes
3answers
122 views

Drupal 8 Nginx error No such file or directory for any routes

I'm running Drupal 8.1.2 on a Docker image of Nginx + PHP7 + PHP 7 FPM and it's linked to another Docker image of PostgreSQL both of them based from Alpine Linux. After successfully running Drupal ...
0
votes
1answer
90 views

Server crash (504 gateway timeout) with 100 concurrent users, using nginx and php5-fpm

We have a VPS server which is dedicated to a single website. Day to day it seems to work fine (say 20-50 concurrent users) but as soon as we get up to around 90+ concurrent users, the server starts to ...
1
vote
1answer
54 views

Allow SELinux, Nginx to read local file and make outbound connection

I am a new admin to a server which uses CentOS 7, nginix and php-fpm. There is a web form that needs to read a local file (prod.pem) and then make an outbound connection to either: gateway.push....
1
vote
1answer
54 views

Nginx is not passing the request on to PHP

This is related to an old question I asked on SO years ago, for which I never got a proper answer. I'm just setting up a new server (Ubuntu 16.04, Nginx 1.10, PHP 7) and coming back to this. I have a ...
1
vote
1answer
47 views

Differences between mod_fastcgi and mod_proxy_fcgi

I have searched for an answer but cannot seem to find anything substantial related to this question. Should one use mod_proxy_fcgi or mod_fastcgi with php-fpm on Apache2.4? Are there any differences ...
0
votes
1answer
107 views

nginx php-fpm blank page

I know, there are many questions related to this topic, but for some reason none of the other solutions worked for me. So here it goes: When I'm accessing a subfolder in my root folder /dev/ ...
0
votes
1answer
30 views

PHP Fatal error: Maximum execution time of -1 seconds exceeded

I have a script which has a long running MySQL query and PHP returns a huge number of records as it is used to fetch raw logs for users. I am finding it a little strange but i am getting time out ...
0
votes
1answer
51 views

PHP-FPM using too much memory

I have a VPS box that runs a few websites for me as well as some scripts and it seems like its running out of memory. It has 1GB total memory. It looks like php-fpm exhausts the memory. Before it was ...
2
votes
1answer
135 views

Serve static content using docker + nginx + php-fpm

I'm trying to configure a php webapp using docker. The idea is to run the app using php-fpm in an standalone container and have another container that will run nginx. The idea for this set up is to ...
0
votes
0answers
49 views

Negative OPcache memory consumption by using php_admin_value

I have a setup with multiple PHP5-FPM masters (as I described here) with PHP 5.6. In the general OPcache configuration (in /etc/php5/fpm/conf.d/05-opcache.ini) I have the following settings: ; ...
-2
votes
1answer
107 views

Server suddenly became too slow with timeout error

My server suddenly became slow, all the websites in it at the http level i have checked all the logs but there is nothing that indicate why it's happening if anyone have any suggestion please my ...
0
votes
0answers
71 views

Site unreachable due to attack - xmlrpc.php

Today our server was not reachable. It was returning a 502. We are running Nginx 1.10 on Ubuntu 14.04. We also use PHP7 (only, no PHP5). In the logs, we got the same error from the same client (2 ...
1
vote
1answer
51 views

Nginx & PHP in a subdirectory

I have an app behind nginx. But i need a specific path in this app redirect to a Wordpress Blog Example : example.com/ -------> Redirect to my app example.com/whatever/ -------> Redirect to ...
0
votes
1answer
142 views

nginx: FastCGI sent in stderr: “Primary script unknown”

Using the latest version of nginx (1.10.0) and php-fpm (PHP 7.0.6) on 64-bit arch linux. When attempting to request index.php for a DokuWiki installation, I get the following error: 2016/05/21 22:...
0
votes
1answer
57 views

what is causing wordpress file empty error on uploads?

I can't seem to figure out why I get the following when I try to upload anything in wordpress... for both media uploads and wordpress import xml: "Sorry, there has been an error. File is empty. ...
0
votes
1answer
41 views

Nginx - can't open php files from a different directory -ERR: failed (13: Permission denied)

I have set a nginx, php-fpm, mysql and phpMyAdmin on my laptop (running Arch Linux). Everything was ok till I tried to move the root in my home directory. Here is the nginx configuration file I'm ...
0
votes
1answer
45 views

NGINX accessing the files in the wrong path

I have a codeigniter application that has the following directory structure <HOME> |_ <web> | |_<API> | |_index.php |_<admin> The developers have an index....
0
votes
1answer
17 views

How to log request forwarded to fpm at Nginx

How to configure Nginx to log requests send to php-fpm into log? Goal is to have e.g. script path information ofter Nginx location etc. have been applied to.
0
votes
0answers
38 views

Listening to 127.0.0.1:9000 but var/run/php5-fpm.sock failed (2: No such file or directory)

I have a webserver configured to accept FastCGI requests at 127.0.0.1:9000 like below. /etc/php5/fpm/pool.d/www.conf: listen = 127.0.0.1:9000 /etc/nginx/sites-enabled/mysite: location ~ .php$ { ...
0
votes
1answer
32 views

postfix/opendkim not sign email from php on second domain

I have two domains, called them example1.com and example2.com on example1.com all emails sent with dkim sign. on example2.com emails from php sent without dkim sign, but if send email from console, ...
0
votes
1answer
120 views

ownCloud Unable to Connect to Local Database on Fedora 23 (LEMP stack, selinux permissive)

The Problem I am having a very strange issue where ownCloud seems unable to access my SQL database, using nginx, mariadb, and php-fpm running on Fedora 23. When I attempt to access the page, I get ...
0
votes
0answers
22 views

Nginx & php5-fpm configuration according to need?

I recently moved from Apache to Nginx web server. I am using Joomla CMS with nginx & php-fpm. I don't really know to configure both of the services according to my server need. My amazon cloud ...
0
votes
1answer
30 views

Directory structure with php-fpm

What's the best directory structure (aka "where to put websites html files") when php-fpm is running? Actually I have one user per website (so for example there is the website example.com and the ...
0
votes
1answer
85 views

Cannot get php5-fpm to work on Ubuntu 14.04 with Apache 2.4.7

I have been trying for two days now to upgrade my regular LAMP stack to use php5-fpm and event-mpm, but it just doesn't want to work! At this point seems like I've tried everything to make it work, ...
0
votes
0answers
81 views

no apache http headers with php5-fpm

I've migrated from standard fastCGI to php5-fpm. Now all headers that are set via Apache (mod_expires, mod_header, and so on) are being discarded (or not set, resp.). For example, I need to parse ...
0
votes
1answer
57 views

NGINX / PHP-FPM + SSL very slow

My application is served on an Amazon EC2 t2.small instance. When using the ab command to test performance. ab -n 3000 -c 100 mydomain.com HTTP Finished 3000 requests Server Software: ...
1
vote
1answer
75 views

php error [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers)

I am using ubuntu 15.04 in my dedicated server with 40 cpu cores and 160GB of RAM with one heavy traffic wordpress site running. I am using Nginx as the webserver and varnish as the cache server. My ...