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
12 views

Two identical VPS hosts with different ways of handling file names

I have CentOS 6.5 32 bit, 512 RAM, running Nginx, PHP-FPM, Mysql on two hosts. One for local dev, running inside a VirtualBox 4.3.12 and the other running online with digital ocean. Both of these ...
0
votes
0answers
16 views

Tunning nginx/php5-fpm : why low memory usage with 800 users?

I did optimize nginx with what I found on the internet My specs are 2 servers load balanced : Intel Xeon E5-1620v2 (4c/8t 3,7 GHz+/3,9 GHz+) 32 Go DDR3 ECC 1600MHz 3x 160Go SSD Intel DC S3500 SATA3 ...
0
votes
0answers
14 views

Enable Soap for PHP 5.5.x on CentOS 6.5

Unfortunately I have to support soap on my server for the Fedex webservice. I recompiled PHP enabling support and it works via CLI but not PHP-fpm. They both point to the same ini file and both show ...
0
votes
1answer
11 views

kohana 3.1 in subdirectory + ubuntu 14.04 + php-fpm + nginx 404 errors

i have an old kohana app that i'm trying to put on my VPS but can't seem to get it working. i've spent hours googling and looking at cached forum answers. i have tried them all and nothing seems to ...
0
votes
1answer
17 views

Cannot login to zabbix web portal

I've managed to install Zabbix22-server on CentOS 6.x along with php-fpm and nginx. Database is MariaDB on remote, DB user's permission is set to only allow my test machine to access. I can view the ...
2
votes
1answer
28 views

PHP Session Storage in Fault Tolerant Memcached Pool

I recently had the opportunity to move a web application from using a Nginx proxy "loadbalancer" to an F5 loadbalancer. Unfortunately during that migration it became clear that the memcached session ...
-1
votes
0answers
18 views

Digital Ocean LEMP Stack environment variables

I'm trying to get some environment variables set in php-fpm. I've changed the php.ini variable_orders to 'EGPCS' and then in I edit /etc/php5/fpm/pool.d/www.conf env[TEST] = something I restart ...
1
vote
1answer
33 views

What are (if any) possible scenario whereby hacker can find multiple sites hosted in one VPS?

Let me clarify: Say that I have 10 sites hosted in one VPS host. And for some reason, one of these sites gets famous and a hacker wants to know where it is hosted, and how many other sites are hosted ...
1
vote
0answers
36 views

Nginx out of memory, not loading new vhosts?

I'm having an nginx running on debian. Nginx will reload every 2 minutes to fetch newly created vhosts. After a while new vhosts weren't loading anymore, but old vhosts kept on being served by nginx ...
1
vote
0answers
43 views

Apache 2.4/PHP-FPM ProxyPassMatch and access restriction

I've got Apache/PHP setup exactly like this: https://wiki.apache.org/httpd/PHP-FPM It includes the ProxyPassMatch rule as mentioned: ProxyPassMatch ^/(.*\.php)$ ...
0
votes
1answer
49 views

PHPMyAdmin blank page but HTML source is present

I just installed Nginx 1.6.0, MySQL, PHP-FPM 5.5.9 and phpMyAdmin on my Ubuntu 14.04 LTS 64-bit server. When I go to domain.tld/phpmyadmin I end up at a blank page but when I view source, I can see ...
1
vote
1answer
23 views

How to avoid PHP errors during server reboot?

I found a PHP error in my server log that says: [02:09:27 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in ...
1
vote
1answer
30 views

Slow loading PHP script makes Cloudflare block connections

I use php-fpm and nginx, I am running a slow script but it's blocking all Cloudflare connections, most likely it's a php-fpm issue but I can't find anything via Google. If I run the php script ...
0
votes
1answer
33 views

Nginx error stating connection refused to PHP-FPM port

Newly create LEMP stack running PHP-FPM on Ubuntu 14.04 x64. Attempting to access some PHP in my webroot. Browser is showing 502 Bad Gateway and Nginx error log is showing the following (my IP and ...
0
votes
2answers
59 views

Setting up nginx(Built from source) with php5-fpm

So am new to nginx. On Ubuntu I installed nginx using "sudo apt-get install nginx" then installed php5-fpm sudo apt get install php5-fpm. I followed the steps at: ...
0
votes
0answers
18 views

Php-Fpm: status URL for all pools

I have an ISPConfig server serving php pages with FPM in ondemand mode. On another server with a single fpm pool I keep daemon monitored using the /status URL and work great. In ISPConfig case there ...
2
votes
1answer
25 views

why is php-fpm running as nobody?

I recently installed php-fpm on my server (CENTOS 6.5 x86_64 standard, WHM 11.44.1 (build 7)) following the instructions here: ...
0
votes
1answer
20 views

Nginx does not have access to centos path

Sorry for the rather confusing title, I am trying to understand this error. I have a php file, inside a folder like site.com/src/app/index.php and this site.com folder is placed in /var/www/html/ in ...
1
vote
2answers
52 views

403 Forbidden when trying to access a folder in document root of nginx

When I access index.php, it works fine. But on localhost/pset7, it gives a 403. Here is the permission log, -rw-r--r--. 1 root root 51 Jul 31 14:21 index.html -rw-r--r--. 1 root ...
0
votes
0answers
34 views

Debian's apache configuration. fcgid or proxy fastcgi + php fpm

I'm trying to figure out, what would be better solution. I have a server with arout 10 vhosts. Now, its configured like in this tutorial: ...
0
votes
0answers
54 views

Magento + Nginx + PHP-FPM (Order Address Edit results in 502 Bad Gateway)

I have a magento on a LEMP stack (Nginx, PHP-FPM and Percona). Every time I click on Edit on the order address, the page is taking a long time to load and then result in 502 Bad Gateway error. ...
-2
votes
1answer
94 views

Blank Page while hosting Ampache (streaming service) with nginx and php-fpm [closed]

I have an nginx vhost miss configuration. Whenever I visit my hosted ampache url I get a blank page. No error is logged either on ampache log, nginx log or php-fpm log. Access is being logged on ...
0
votes
0answers
51 views

Nginx and PHP-FPM Clean URLs

Preface I have spent 40 plus hours trying to create a Nginx configuration setup that holds up to my OCD. I have been told numerous times on IRC that I am too picky and clean urls are very challenging ...
0
votes
0answers
47 views

Wordpress wp-ffpc + memcached + nginx

Seem to be having issues with the centmin build, nginx + memcached with wordpress and wp-ffpc plugin. When I have the plugin active. The site doesn't load, just get a white screen, memcached is ...
2
votes
2answers
51 views

Directory for PHP 5 FPM socket files is deleted after reboot on Ubuntu Server

I've created a directory to store socket files for PHP 5 FPM: sudo mkdir /var/run/php-fpm. It is owned by root:root as well as core PHP FPM process. When PHP FPM is starting, it creates socket files ...
1
vote
0answers
162 views

Munin dynamic graph zoom (dynazoom) not working (Nginx, PHP-FPM)

Debian 7.5 Nginx/1.6.0 PHP 5.6.0RC2 (fpm-fcgi) (built: Jul 11 2014 08:17:52) Munin v2.0.21-2 I been searching all over the net for a few days for answers to my problem but it seems like no one knows ...
0
votes
0answers
26 views

Debian wheezy TKL (Turnkey Linux) missing php5-fpm conf

I have used a TKL AMI on an EC2 instance to quickly create a NGINX / PHP box. Details of the image are on the Amazon marketplace. It mostly works just as I'd expect it to except for a small caveat - ...
1
vote
0answers
27 views

What causes my server slowdown that “service nginx restart” fixes?

CentOS 6.5, nginx 1.6.0 Sometimes my site becomes really slow for a period of time. If I ignore it for long enough it returns to its normal speedy self. service php-fpm restart doesn't help it. ...
-1
votes
0answers
15 views

page refresh itself after uploading some percent of a file in nginx

I have recently created a new VPS on digital ocean. The server is running on UBUNTU with NGINX and PHP-FPM. But i am getting a serious problem. regardless of the type, when i try to upload a file ...
0
votes
0answers
18 views

PHP-FPM showing 34 worker process despite adjusting configuration

I recently asked this question and I got an answer about how I should limit php-fpm from running 34 worker process, considering that I get on average 20 visits for one light website. So, I ...
0
votes
2answers
38 views

How to prevent nginx caching blank pages?

I have nginx 1.4.3 running on a Ubuntu 12.04 machine. I have nginx set up to cache pages (they are database-driven but stay fairly static). I'm using MySQL and PHP-FPM. However, I found that I would ...
0
votes
0answers
53 views

Set disable_functions parameter per vhost

I'm trying to use the disable_functions directive for php with different values for each of my domains. First time a tried with nginx's fastcgi_param PHP_VALUE. It worked well until I had more than ...
1
vote
1answer
65 views

Does using fastcgi_keep_conn in nginx increase performance for php-fpm?

The nginx docs say that keepalive for fastcgi cannot work if the fastcgi_keep_conn is not on. However, I can't find any further details on this. I already have keepalive enabled server-wide. I am ...
2
votes
1answer
90 views

High Mysql Connections

Having a challenge discovering why results are as they are. Perhaps missing something obvious. Sorry this isn't very specific. But if anyone has an pointers on areas to focus on that would be very ...
0
votes
1answer
34 views

nginx + php-fpm + v8js crashing

I have a problem concerning v8js extension for php. I needed to install it on my server (and did) (CentOS 6.5, Nginx 1.0.15, php 5.5.12) but whenever I give such a simple test to it: ...
0
votes
0answers
49 views

Nginx server goes down when php file is executed in command line

We have a production nginx web server with php FPM. We ran a php script which updates a particular field in mysql database and mails some content using php mail function. This php script was executed ...
0
votes
0answers
16 views

PHP FPM with Apache 2.4 htaccess [duplicate]

I have an install of Apache 2.4 with PHP executing through FPM. <VirtualHost x.x.x.x:443> SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP ServerAdmin ...
0
votes
0answers
31 views

Wordpress PHP half works on nginx

under the path there are public files: $/usr/share/nginx/html 50x.html readme.html wp-content wp-mail.php apc.php wp-activate.php wp-cron.php wp-settings.php ...
1
vote
2answers
116 views

Increase PHP-FPM's max upload/post size

I'm running php5-fpm under Nginx on Ubuntu 14.04. I want to increase the max upload size. I have edited my /etc/php5/fpm/php.ini to have the following lines defined as below: upload_max_filesize = ...
1
vote
3answers
98 views

apache 2.4, mod_proxy_fcgi not honouring .htaccess, work around needed

I am using apache 2.4.7 with mod_proxy_fcgi for purpose of passing through php to php-fpm (this will be used for shared hosting environment). The htaccess works fine for non php files, but once it hit ...
0
votes
0answers
27 views

Nginx/PHP-FPM: Returning 404s for CSS and JS

I can't access PHP files placed in sub-directories and my CSS/JS files return a 404 in browser. Yes, I have seen many others experiencing a 404 issue but their fixes don't seem to be my solution. I've ...
3
votes
2answers
164 views

Apache fast-cgi and php-fpm failing to run php file?

I have been trying to switch my server from mod php to fastcgi set up on an apache server running on osx (as a development machine). My problem is that php-fpm doesn't seem to processing the files. ...
2
votes
1answer
37 views

Nginx throws 404 only on php scripts using php-fpm

I've installed a testing server using nginx + php-fpm. I've tried all of the following: Nginx + Php5-fpm not rendering php files nginx + php fpm -> 404 php pages - file not found When accessing ...
0
votes
0answers
47 views

How to correctly recompile PHP?

Using Ubuntu Server 14.04 x64 / PHP 5.5.9-1ubuntu4 (cli) w/ FPM / MySQL InnoDB version 5.5.35 Incredibly frustrated with what was supposed to be a minor issue. Basically, I'm being forced to ...
0
votes
2answers
69 views

Can zend opcode cache and APC cache run together on same server?

I am on a dedicated server - running multiple portals in respective virtual directories. Some of the previously loaded websites are using Zend opcode cache. While my new commerce portal uses an APC ...
0
votes
1answer
52 views

php-fpm and nginx super fast and timeout responses together

I'm having some problem with my server: Ubuntu 12.04 nginx 1.4.6 2GB RAM OpenVZ VPS I increased php-fpm settings as the default one was very low. To something like this: pm.max_children = 48 ...
1
vote
1answer
79 views

nginx 404 instead of 403 for empty directory

I have the following config for my nginx server: server { listen 80 default_server; server_name example.com www.example.com; root /var/www/example.com/web; index index.php ...
-1
votes
2answers
167 views

PHP Warning: Module 'apc' already loaded in Unknown on line 0

I am on a dedicated server with my site hosted in a virtual directory. There are few other sites hosted in different virtual directories. I have APC and APCu installed. When i restart PHP-FPM i get ...
0
votes
0answers
72 views

FastCGI errors: (104)Connection reset by peer, incomplete headers and others

I am writing web application using cPhalcon. The machine on which I am testing is strictly development, so there isn't any traffic from outside. The problem is that when I am trying to do ...
0
votes
2answers
35 views

PHP-FPM and ProxyPass disables the possibility to use FilesMatch?

i'm using PHP-FPM and mod_proxy_fcgi for serving PHP files. The system is blazing fast and works flawlessly except i'm not able to use the FilesMatch directive in Apache. Well that makes sense because ...