0
votes
0answers
20 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
0answers
9 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
28 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
14 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
26 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 = ...
0
votes
0answers
10 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 ...
2
votes
1answer
17 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
1answer
27 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
33 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
1answer
32 views

Installing nginx + php-fpm - got Not found

I install nginx and php-fpm on new machine. But when i open my domain, i got an 404 Not Found. (static files accessible). File: /etc/nginx/sites-available/elfchat.net server { ...
0
votes
0answers
30 views

Nginx + PHP-FPM fastcgi_cache bypass specific custom header?

Hi I am trying to setup Nginx with PHP-FPM and fastcgi_cache and know I can bypass and exclude specific cookies with map $http_cookie $no_cache { default 0; ~cookiename 1; } and then bypass and ...
0
votes
0answers
22 views

is nginx + php5-fpm sufficient for long polling?

On my web application, I need to implement live notifications. I use nginx with php5-fpm. Digging through php5-fpm's configuration, I found out that it has a limit on the number of php scripts that ...
0
votes
1answer
42 views

Updated php5-fpm, can't use socket anymore

Earlier today, I updated packages on one of my servers. One of those packages was an update to php5-fpm, which seems to have broken my ability to utilize unix:/var/run/php5-fpm.sock. Disclaimer: I ...
1
vote
0answers
20 views

php5-fpm doesn't create sockets for pools

I'm going off of section 3.1 of http://www.howtoforge.com/php-fpm-nginx-security-in-shared-hosting-environments-debian-ubuntu . I have created a directory in /var/run which www-data:www-data has ...
0
votes
1answer
73 views

Nginx + php5-fpm + Symfony2 = “File not found.”

This is the site config based on official Symfony2 doc server { listen 80; server_name project.local; root /media/Storage/project/web; location / { # try to ...
-1
votes
1answer
128 views

Getting “The page you are looking for is temporarily unavailable. Please try again later”

I have a vps running Ubuntu+LEMP+Varnish. Everything was fine untill I updated the server software. Now I am getting "The page you are looking for is temporarily unavailable. Please try again later" ...
0
votes
1answer
41 views

another php.ini for domain with nginx php-fpm working in fastcgi

I working with nginx and php-fpm and use unix:/cls/php-fpm.socket; I have enable xcache for hole server setting it in php.ini and want to disable xcache for 1 domain I did it with this in server ...
0
votes
0answers
25 views

nginx config with php5-fpm subfolders

I have an issue configuring the php5-fpm on nginx. when I go to open a .php page on my site, it gets downloaded instead of being executed. so as if the php5-fpm is not working!! here is my vhost ...
0
votes
1answer
26 views

Nginx serving wrong site

I have nginx setup on my vps with a static ip and 2 domains (beryju.org and nope.berlin). I want to serve: Site 1 to beryju.org Site 2 to blog.beryju.org Site 3 to i.beryju.org Site 4 to ...
2
votes
2answers
219 views

Nginx 502 Bad Gateway - 111: Connection refused, port not being listened to

I'm aware there are many other similar questions but the solutions from those questions I feel I've already got in place. I've got 3 sites running locally on a VirtualBox Ubuntu 12.04.4 LTS Server, ...
0
votes
0answers
129 views

High Performance AWS EC2 / RDS + Nginx + PHP-FPM setup

General description of the issue We're currently running an application on a PaaS type solution for PHP. Their solution is based on AWS cloud and due to the fact that their plans don't fit our ...
-1
votes
0answers
61 views

nginx 1.7 and php-fpm showing empty response

i have installed nginx as described here on my fresh new debian wheezy installation. Then i installed php5-fpm. I changed the www.conf of php5-fpm to use the socket connection. Then i created a file ...
0
votes
1answer
15 views

Chromium wants to download a html page

An issue that happens much too often, but this time I can't find the way out: I have a Wordpress site using the following special permalink configuration: /%post_id%/%postname%/. Everything seems to ...
2
votes
0answers
29 views

Nginx + wordpress in different directories [closed]

Trying to get a /blog working with wordpress alongside an existing application running at root (also php). Cant seem to get wordpress running with assets. Any ideas? server { listen 443 ...
0
votes
1answer
85 views

PHP-FPM with Nginx not Working on port 80

I am trying out nginx on my Ubuntu 14.04 desktop, I have referred to some basic setup articles and have installed the latest Nginx and PHP-FPM from the apt repository. I have nginx working and can get ...
1
vote
2answers
96 views

tune up performance nginx php-fpm mysql

I am running a nginx+php-fpm+mysql on virtual server with 8 cores and 16G ram My aplication is a simple API provider server, which returns JSONs generated from mysql database on requests. Datasets are ...
0
votes
1answer
74 views

Nginx alias or rewrite for Horde Groupware ActiveSync URL does not process the rpc.php file

I'm trying to setup a Horde groupware with Nginx. The webinterface works but I do not get the ActiveSync specific URL to work. The Horde Wiki explains how to use it with an Apache Webserver here. My ...
1
vote
3answers
93 views

Is it possible to extend a 504 timeout in nginx on a per location basis

Is it possible to set timeout directives within a location block to prevent nginx returning a 504 from a long running PHP script (PHP-FPM)? server { listen 80; server_name ubuntu-vm.test-api; ...
0
votes
2answers
120 views

Varnish + Nginx + multiple IP addresses

This is my first shot at making Varnish work on my dedicated server which hosts 2 domains with 2 separate IP-addresses. My simplified setup is as follows: Nginx conf server { listen ...
0
votes
0answers
37 views

PHP-FPM pool stops responding and fails to restart

I am running PHP as PHP-FPM behind Nginx. Occasionally one of the pools stops responding to requests. It seems that nginx is accepting the connection, passing it to PHP-FPM but then PHP-FPM is not ...
1
vote
0answers
51 views

Nginx + PHP-FPM Too Many Resources

My Server has the following Specs CPU: 6 Cores Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz RAM: 32 GB I have a problem with nginx+php-fpm. They are taking too many resources for an unknown reason. ...
0
votes
1answer
47 views

php-fpm use a lot of cpu

I use wordpress on Ubuntu 12.04 with Nginx + php-fpm on my VPS. There are 2 CPU cores + 4096Mb memory. I've moved mysql database to antoher server and set remote access. There are about 300 online ...
0
votes
0answers
119 views

Either, nginx+php-fpm bad config or nginx+php-fpm cannot handle high query?

I have wordpress installed in my server configured(hopefully with nginx+php-fpm+mariaDB). I am trying to import using wordpress importer a 1.5MB xml file. Everytime I try to upload it using the ...
0
votes
1answer
229 views

Nginx + PHP-FPM on Centos 6.5 gives me 502 Bad Gateway (fpm error: unable to read what child say: Bad file descriptor)

I am setting up a standard LEMP stack. My current setup is giving me the following error: 502 Bad Gateway This is what is currently installed on my server: Here's the configurations I've ...
-1
votes
3answers
76 views

Nginx serve one, specific PHP script for all .HTML requests

In short, I need to run a specific php file, patch.php, every time someone requests an html page on this site... We recently moved from an Apache server to an Nginx server, and everything has been ...
1
vote
0answers
68 views

CentOS 6.5 x64 + Ajendi +nginx + php-fpm + mysql setup unable to load the PHP page

I'm using Ajendi to setup a PHP web server, I can load the PHP info page, when I try to load the PHP copy from other server, I get a blank page with this log appear on access log, I have no clue what ...
-1
votes
2answers
188 views

PhpMyAdmin 500 Internal Server Error on Nginx/php5-fpm/Debian

I downloaded PhpMyAdmin a while ago and am having a hard time getting it to work. Requesting localhost/phpmyadmin gives a 500 Internal Server Error response, but there's nothing in the error log. ...
0
votes
0answers
60 views

Installing php-imap in centos 6

I am trying to install phpimap5.4 but is not working may i know how to do it without reinstalling php sudo rpm -Uvh php54-php-imap-5.4.16-7.el6.centos.alt.x86_64.rpm error: Failed dependencies: ...
0
votes
1answer
117 views

NGINX connect() to unix:/var/run/php-fpm/vhost.sock failed

I use Centos 6.5 (64bit) with Nginx, PHP-FPM. Nginx with fastcgi connect to PHP-FPM using unix domain socket. When I place the socket in a directory with proper permission, it's ok. However when I ...
1
vote
1answer
507 views

Docker + nginx + Php-FPM 502 Bad Gateway

I'm trying to install php-fpm and nginx via docker and I have a problem with nginx which returns me a 502 Bad gateway error, however when I try to go on any HTML file only displays correctly. What ...
0
votes
2answers
82 views

Php file are not parsed by fastcgi in nginx

I m new to nginx my server block is server { listen 25552; server_name *.example.com; root /usr/share/myPackage; rewrite ^/$ /index.php permanent; location ~ ...
0
votes
0answers
110 views

Joomla Extension Uninstall Causes 502 Bad Gateway

We have a VPS with some PHP websites hosted on our Ubuntu 12.04 LTS servers using NGINX. In a Joomla 3 site, when uninstalling an extension that errors out, the page shows an NGINX error page with a ...
0
votes
2answers
191 views

Nginx + php-fpm and multi-domain

I have 3 domain name, 1 server and 1 IPv4 and 1ipv6. I’ve set a record to my ipv4 (I doesn’t use IPv6 right now). My 3 sites use Wordpress. I have configured Nginx, and php-fpm for a domain. ...
0
votes
2answers
147 views

Nginx PHP-fpm permission

When i'm setting the user in nginx.conf to root root: user root root; then my website is working, but when i set it to nginx nginx i get error in the logs: connect() to ...
0
votes
0answers
51 views

Nginx + mod_security without a backend server

I want to start using mod_security for Nginx. However, I have read the official doc and something got my atention: ...
0
votes
1answer
46 views

Connection timing out on webserver?

My server is currently timing out when I try to view the site. I tried restarting nginx. I tried restarting php-fpm. I tried restarting mysql. No dice. I tried rebooting the box. Still no dice. ...
-1
votes
1answer
86 views

Server is using an excessive amount of I/O

It looks like an application specific issue and my server(Linode) is using an excessive amount of I/O. (config: Ubuntu 12.0.4+Nginx+MariaDB+PHP-FPM+APC+iONCube+igBinary) I'm trying to figure out ...
0
votes
0answers
112 views

php-fpm Configuration issues

There is this issue in the server that is not allowing me to run correctly php-fpm, but despite this issue everything is running with a problem of 524 CloudFlare time out every time I SEND, POST ,etc ...
0
votes
0answers
35 views

nginx Returning 404 After Server Move (AWS)

Moved my site to a larger instance size at AWS which allocated me a new private IP and Public DNS value. The Public, elastic IP is the same. The site loads fine from Apached, but when enabling nginx ...
0
votes
1answer
49 views

Static Wordpress Multi-Site Rules From Apache to Nginx

I have been reading and trying things for 3 days, but I can't seem to get the right combination of rules to do what the Apache2 server did. The Apache2 rules are: RewriteRule ...