Tagged Questions

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
1answer
23 views

504 Gateway timeout / 502 Bad gateway after installing php curl - server nginx

I have (well had) a working server with nginx on board. A server (dedicated) was only used to host a drupal site. Recently we decided to host also a magento store on it and started preparation. Since ...
0
votes
1answer
15 views

Differences and dis/advanages between: Fast-CGI, CGI, Mod-PHP, SuPHP, PHP-FPM

As stated in topic. There are few different php "wrappers"(?). What are differences between them? Tried to google some, but cant seem to find informations. (mod-php is not goole'able). What are they ...
0
votes
1answer
26 views

PHP file downloaded instead of executed with nginx try_files

I'm using Ubuntu 14.10, nginx 1.6.2, php 5.5.12. I have a site set up like this: server { root /usr/share/nginx/www/oliviataussig; index index.php; server_name oliviataussig.com ...
0
votes
0answers
19 views

Nginx php-fpm in docker - Getting 404s

I'm trying to launch to containers an nginx container and a php-fpm container. php-fpm container exposes port 9000 and the nginx container exposes port 80. I updated the conf file to point the Once ...
1
vote
1answer
28 views

Why was an older version of Nginx installed?

I installed Nginx and PHP5-FPM and have it all working, but I noticed that I have Nginx 1.2.1 installed and not the most recent stable version (1.6.x). I also noticed that PHP-FPM had PHP 5.4 and not ...
-1
votes
1answer
46 views

phpmyadmin complains about permissions and open_basedir - but they all appear correct [on hold]

phpmyadmin has been installed and working fine for months, installed via this repo: deb http://ppa.launchpad.net/tuxpoldo/phpmyadmin/ubuntu utopic main Suddenly, I couldn't login; no in-page errors ...
0
votes
0answers
16 views

php-fpm reload fails when many pools exist

When PHP-FPM is reloaded via a command like service php-fpm reload, php-fpm goes down and does not start back up. The following error appears in the log. ERROR: failed to reload: execvp() failed: ...
0
votes
1answer
42 views

Nginx virtual host servername, root

I installed nginx-1.6.2,2 on FreeBSD-9.2-RELEASE-p5 and here is my configuration: # tail -2 nginx.conf include _includes/*.conf; } # cat _includes/XXX.conf server { server_name XXX; root ...
0
votes
2answers
161 views

How do I set permissions for uploading media in WordPress? (Ubuntu 14.04.1, nginx 1.4.6)

I'm having trouble finding the correct permissions for running a WordPress site on my droplet. I followed this guide to configure the site: How To Configure Secure Updates and Installations in ...
0
votes
0answers
32 views

Apache Worker MPM / PHP-FPM Tuning

I have a VPS running CentOS 6.5, Apache 2.2, PHP-FPM v5.4 and MySQL 5.5. I take advantage of APC and Memcache. The VPS has 8 cores and 8GB RAM. I'm running a medium volume site (15,000 users / day, ...
1
vote
0answers
37 views

Nginx + PHP-FPM Client Abort

Here's my config (Nginx 1.7.x) : server { listen 8000; index index.php index.html index.htm; root /var/www/; server_tokens off; chunked_transfer_encoding off; location ~ ...
1
vote
0answers
6 views

SASL severity 2 password verification failed

I have PHP Memcached running I have binary turned on (both memcached process & php) I am using Memcached::setSaslAuthData Using Ubuntu 14.04 SASL is enabled I just continually get: mech: ...
-1
votes
0answers
8 views

User and Group Mapping for NFS

i searched a lot but couldn't make an stable NFS installition because of user/group permissions. The scenerio i need to do is this: i have an NFS server and lots of clients will be mounting to a ...
-1
votes
0answers
20 views

How display on page Č,Ć,DŽ,Đ from my sql [on hold]

How can display charterers from my sql Č,Ć,DŽ,Đ (Croatian language) already have in code and my sql datebase set up UTF-8.
-1
votes
0answers
77 views

Logs look like someone was trying to hack - what should I do?

I have a webserver on Centos 7 and I have firewalld configured. Yet I found that today my db and webserver were shutdown. Apache logs show some one was trying to fetch some pages that do not exist. ...
0
votes
1answer
27 views

Joomla URL Rewriting works automatically in Nginx

This is driving me nuts and I dont understand how this works automatically. I have nginx as my web server and I have installed Joomla that has URL Rewriting which removes the index.php from the URL. ...
0
votes
0answers
3 views

when i use phpbrew install php on my Mac, play phpbrew fpm start give me notice [migrated]

at first my english not good! thx read my title and hope someone can fix my question! when i use phpbrew install my php on my Mac ,when i use phpbrew fpm start it give me a notice:like: [05-Nov-2014 ...
-1
votes
0answers
33 views

nginx and php-fpm permission

I have a problem with nginx / php-fpm permissions. I run a website in /var/www/clients/client1/web1/web, the owner:group of that folder and subfolders is web1:client1. When I try to create or upload ...
-1
votes
0answers
58 views

Blocking time in firebug [closed]

When we test our application with firebug we are getting the blocking time is around 3 seconds so our site is loading very slow. Please let us know is this issue in our application? or in our ...
0
votes
1answer
50 views

PHP-FPM does not start on server boot (debian)

I installed nginx and php-fpm on my server. When I run "service php5-fpm status" I only get status: Unknown job: php5-fpm The only way to start FPM for me is to run php5-fpm -D But it won't start ...
0
votes
2answers
99 views

Tuning high-raffic nginx and wordpress server

I have been conducting load-tests (via blitz.io) as I attempt to tune server performance on a pool of servers running php 5.5, wordpress 3.9.1, and nginx 1.6.2. My confusion arises when I overload a ...
2
votes
1answer
162 views

Cannot connect to PostgreSQL unix domain socket

I'm trying to connect to PostgreSQL Unix domain socket from a PHP web application. Relevant system components: CentOS 7 x64 (SELinux enforced) postgresql93 9.3.5-2PGDG.rhel7 nginx 1.6.2-1.el7.ngx ...
1
vote
2answers
64 views

Nginx server block not working

Disclaimer: Just to clarify, I'm completely new to Linux, but I've configured everything via google searches and personal research. I've got a Debian Wheezy server with LEMP stack that I intend to ...
0
votes
1answer
38 views

Cookieless folders with NGINX

I want to force all pages on my WordPress setup to not set any cookies, except for the file and folder: wp-login.php and /wp-admin # disable cookies globally fastcgi_hide_header Set-Cookie; if ...
3
votes
0answers
55 views

Odd performance fluctation with php-fpm and nginx

I'm running a load test against a web service. It's a php application running on php-fpm and nginx, with fastcgi. There is a MySQL backend being used for small reads only. Invariably, I'm seeing a ...
1
vote
1answer
92 views

nginx wildcard server_name for subdomain gives index.php 404 error

I've been using this server configuration for wordpress which works great on my local machine: server { server_name example.example root /home/user/sites/example/example/html; index ...
2
votes
1answer
58 views

Strange CPU Loading peaks on web server

I have strange, very strange peaks of CPU loading on my website. normal loading about 2-3, when i have this peaks it is about 100-150 peaks may be in any time. not depends my normal loading ...
0
votes
2answers
64 views

How to tune a web server and prep it for lots simultaneous visitors?

I have another related question but I'm deviating from it since I'm changing my server to use nginx instead of Apache. Related: Server problems, running out of RAM, really high load average I'm ...
1
vote
1answer
26 views

Can the execution time of PHP scripts be logged on Nginx

I have some issues with our clients reporting some of our web pages being slow. This could be for a number of reasons but I want specifically to log the execution time of each page, without having to ...
0
votes
1answer
31 views

Pass PHP5-FPM errors back to error page script?

My nginx has an error_page setup that throws 500 errors to a PHP page. I wish to display/log any PHP errors that cause this error page to show. When I say display, I mean show in-browser depending on ...
0
votes
0answers
57 views

Page displays “File not found” when I enable php-fpm chroot on debian wheezy apache2.2

I set up a chroot jail for a user "bob". bob is located in /var/jails/bob Bob has a site which is located in /var/jails/bob/bobssite.com/public_html Everything seems to work so far, including the ...
0
votes
0answers
12 views

Create .deb package after running passenger-install-nginx-module

I do need nginx with passenger support and also custom modules. For compiling nginx with the needed modules I use passenger-install-nginx-module provided by Phusion Passenger directly. I would like ...
0
votes
1answer
43 views

How to debug nginx + php-fpm download failures?

Downloads fail after all data downloaded on nginx + php-fpm. I'm controlling downloads of zip files (roughly 100mb each) with a PHP script that streams the file directly to the client. I'm using ...
0
votes
2answers
90 views

Are there any performace gains to using Varnish along php-fpm and nginx? [closed]

PHP-FPM 5.6 and Nginx 1.6.2 would no doubt give maximum performance, at-least speed wise. So, I would like to know if there are any pros/cons to adding varnish cache to gain probably few more speed. I ...
0
votes
0answers
69 views

Wordpress Nginx Php-FPM Varnish Setup Fix

Master Slave Database We are running a wordpress site on Nginx, Php-Fpm, Varnish, at the moment we cant access wp-admin wordpress backend or pages but posts are running fine. Also when there is ...
0
votes
0answers
56 views

configure php-fpm to work only in one directory and HHVM on the rest

I am trying to test HHVM and php-fpm on the same site, running both. But I want php-fpm to work only on one directory, but I think I am not getting it right location ~ \.(hh|php)$ { fastcgi_pass ...
0
votes
0answers
114 views

mod_proxy_fcgi and php-fpm with apache 2.4 mod_rewrite vs proxypass, neither solution perfect

If I use mod_rewrite with the P flag most things work right: <Directory /home/dir/public_html/www.site.com> AllowOverride All Options FollowSymLinks Require all granted ...
0
votes
0answers
28 views

X2Engine doesn't install because it thinks session.save_path (unix:/tmp/memcached.sock) is not writable

I'm installing X2Engine and I get the following error on the install page: The path defined in session.save_path (unix:/tmp/memcached.sock) is not writable. # ll /tmp/memcached.sock srw-rw-rw- 1 ...
1
vote
0answers
39 views

what is php-fpm warning “failed to acquire scoreboard”?

what is php-fpm warning "failed to acquire scoreboard" in fpm error log? And how to fix it? tail -f /var/log/php-fpm.log [08-Oct-2014 03:36:36] WARNING: failed to acquire scoreboard [08-Oct-2014 ...
0
votes
0answers
73 views

php-fcgi periodically shutting down for Nginx, Centos 6.5 with Virtualmin

php-fcgi periodically shutting down 1-3 times a week. The server spec is: Server RAM: 512 MB CPU: 1 Core OS: Centos 6.5 Web Server: Nginx 1.0.10 PHP: 5.3.3 MySQL: 5.1.73 Control Panel: Virtualmin ...
0
votes
0answers
32 views

CentOS - php-fpm update - rsyslog issue

Strangest thing. After updating php from 5.4.24 to 5.4.33, I noticed that php errors are no longer going to /var/log/php/all.log, instead they are back in /var/log/messages. I checked my rsyslog ...
0
votes
0answers
204 views

Docker PHP-FPM & NGINX

I'm having an issue with my containers communicating to each other. The linking of the containers is working but the php-fpm process isn't working. php container = 172.17.2.106 nginx container = ...
0
votes
1answer
51 views

Nginx Not Passing Rewrites To PHP-FPM

I have the following rewrite rules for nginx. The rules seem to not function correctly, for example the rule for games is supposed to rewrite http://thegamesdb.net/game/2/ to ...
0
votes
0answers
61 views

Apache mod_rewrite failing to catch non existing URLs ending with PHP if run with PHP-FPM (FCGI) mode

On our production server we run in to issue when non existing URLs that ends with .php extension like www.domain.com/test.php are not passed back to Apache and mod_rewrite is not triggered and as ...
0
votes
1answer
77 views

Serving files outside the DocumentRoot with apache 2.4 and php5-fpm

I'm trying to serve a php file outside my document root with apache 2.4 and php5-fpm. My virtual host looks like this: <VirtualHost *:8080> ServerName www.domain.tld DocumentRoot ...
2
votes
1answer
96 views

Server returns http 504 error code for specific script

I have 3 servers all set up identically load balancing a single site with apache, mod_proxy_fcgi, php5-fpm and mysql/mariaDB galera cluster running on ubuntu 14.04 server. Everything seams to work ...
1
vote
1answer
134 views

php htaccess environment variables php-fpm mod_proxy_fcgi apache 2.4

My .htaccess: SetEnv tvar "my value" RewriteEngine on RewriteRule .* - [E=boostpath:normal] My virtual host settings: AllowOverride All Options FollowSymLinks Require all granted ...
0
votes
0answers
75 views

Improve speed of WordPress backend on Ubuntu VPS

I have a WordPress site running on my VPS which is quite high-specced (3520MB RAM, 4 Cores). The server runs Nginx and php5-fpm. Although the site is responsive on the front end, the backend tends to ...
0
votes
1answer
79 views

php-fpm package not available, Ubuntu 14.04 LTS

I try to install the package php5-fpm on dist Ubuntu 14.04 LTS, nginx. But I get this message: Reading package lists... Done Building dependency tree Reading state information... Done Package ...
0
votes
1answer
70 views

File cannot be downloaded completely via PHP from my nginx

I have a file on my tiny server (BeagleBoneBlack) which I want to download to another machine. Therefore I try to do it via PHP from my nginx-web-server. The file size is about 1.2 GB and the download ...