-2
votes
0answers
28 views

Optimzing Web Server [on hold]

I'm trying to increase connection speed and at the same time reduce server load for my web application. I'm looking at setting up something similar to a CDN (Content Delivery Network) but that's able ...
2
votes
0answers
19 views

Database hangs when using owncloud on nginx php5-fpm postgresql - i think postgres if responsible

I have strange problem with this setup. Strangely it occurs only when using owncloud from one specific computer. Problem is when user click on "Activities" an "document" icons one after another ...
0
votes
0answers
27 views

Nginx with wordpress refused varnish static content requests

I just added another wordpress site to my ubuntu server. 2 wordpress sites, not multisite. They use 2 different fpm pool with same config. Their Nginx config files are basically identical except the ...
1
vote
1answer
27 views

unable to switch off expose_php in ubuntu 14.04 with nginx and php-fpm

According to phpinfo: Loaded Configuration File: /etc/php5/fpm/php.ini # grep expose_php /etc/php5/fpm -R /etc/php5/fpm/php.ini:expose_php = Off ...
0
votes
0answers
15 views

Would PHP5-FPM be faster with more cores?

I'm a bit new with nginx + php5-fpm. I read that with nginx there's an advantage to have multiple cores (CPU) with the use of worker_processes. Is php5-fpm also faster if it uses more cores? Reason: ...
0
votes
0answers
39 views

nginx with php-fpm location settings

Many of the guides for setting up Wordpress (or similar applications) on nginx with php-fpm use a configuration that in part looks something like this: location ~ [^/]\.php(/|$) { ...
0
votes
1answer
43 views

Sudden error with wordpress with nginx only (Uncaught SyntaxError: Unexpected end of input)

I've installed Wordpress on my VPS and is run smoothly with apache2. But recently , I recognized that it consume too much RAM (~600MB for 7-8 session) so I decided to change to Nginx. After changing ...
-2
votes
0answers
30 views

Random Nginx 400 Bad Request

I just installed fresh new server (Centos 6.4), I have worked with my website and suddenly i get 400 Bad Request - Nginx (After some time the website worked again) the weird thing I have no errors ...
0
votes
0answers
29 views

Strange Nginx Issue

We are facing a strange issue on our servers. We have servers with 1GB RAM and some drupal sites are running on it. Generally all sites are loading fine but sometimes we are unable to access any ...
0
votes
0answers
5 views

How do I preserve a UNIX socket across reboots (RasPi, Arch, chroot) [migrated]

I've set up nginx and php-fpm under Arch Linux on a RasPi. nginx was set up in a chroot as described in the ArchWiki. Everything runs fine when php-fpm.conf and nginx.conf are set up to listen to ...
1
vote
1answer
64 views

how to stop a php-fpm process that started with a cron job but won't die

and thank you beforehand for reading this. I'm pretty new to linux and have just migrated from a shared hosting to a vps for my shop. I set up nginx with fpm and varnish, and some cron jobs to import ...
0
votes
0answers
35 views

Getting 502 bad gateway after updating php to 5.5

On my ubuntu 12.10 server I upgraded php to 5.5. After getting 502 errors on my wordpress site I did some googling and discovered I need to change my nginx configs to match the passing of php scripts ...
1
vote
1answer
43 views

nginx rewrite or internal redirection, primary script unknown

I am converting to nginx from apache. The application in question is as follows /contentlibrary_js /contentlibrary_js/app/index.php --> one page ajax app /contentlibrary_js/pagecreator/index.php --> ...
0
votes
1answer
34 views

nginx rewrite rules for tweetnest

Recently I migrated my last apache to nginx (+ php-fpm). Everything works fine except tweetnest by month links (tweetnest/yyyy/mm). tweetnest provides apache rewrite rules (.htaccess) which works ...
1
vote
0answers
63 views

LA problems while serving 40M requests daily with php-fpm, nginx

I have server with FreeBSD (16 cores with HT, SSD, 32Gb RAM) which is getting about 40M http requests daily. All requests are served by nginx + php-fpm. At these graphs you see that we have a ...
0
votes
1answer
41 views

Codeigniter URL only work for default router

I've installed Codeigniter on Nginx with this configuration : server { listen 80; server_name myserver; root /usr/share/nginx/html; index index.php index.html index.htm; error_log ...
0
votes
1answer
64 views

nginx upstream timed out. Multiple servers at the same time

I have several servers serving a single site. Main server runs nginx and php-fpm. And all the other servers run php-fpm. The server that runs both nginx and php-fpm connects via a unix socket and the ...
0
votes
2answers
42 views

phpmyadmin can't login on nginx Centos 6 Server

I've installed phpmyadmin on my ded server with Nginx and MariaDB under Centos 6.i can login into mariaDB cli with root user falwlessly but i can't login through phpmyadmin. it shows me first login ...
0
votes
0answers
22 views

SPDY & Nginx upload issues

I have this setting: an Nginx server with php-fpm and the http://blueimp.github.io/jQuery-File-Upload/ When I try to upload a file after about 10MB it fails. This happens when SPDY is activated. ...
0
votes
1answer
25 views

nginx+php5-fpm .php Pages not reflecting changes

I'm very experienced with Apache, but I wanted to make the switch to Nginx to try and gain experience with a very popular piece of software. Unfortunately I have not gotten very far and this problem ...
1
vote
0answers
30 views

PHP-FPM errors only when running as a system service on Fedora 20. (File not found / Primary script not found)

I am trying to setup NGINX with PHP-FPM on a Fedora 20 box and I am getting the "File not found / Primary script unknown" errors only when starting php-fpm as a system service. I am using a default ...
0
votes
2answers
35 views

real solution for `No input file specified.` (nginx, fpm)

Most answers to this question are, *set fastcgi_param SCRIPT_FILENAME and it will work* (italic formatting is broken?!). I have set this variable (correct) but it still shows the error instead of a ...
0
votes
1answer
252 views

connect() failed (111: Connection refused) while connecting to upstream, client

I get this error message in my log : *329 connect() failed (111: Connection refused) while connecting to upstream, client: 37.24.154.207, server: domain.de, request: "POST /wp-admin/admin-ajax.php ...
0
votes
1answer
68 views

nginx configuration for multiple subdirectories containing zf2/php files doesn't work

My root structure looks like this /root/ /root/projectA/... /root/projectB/... /root/projectC/... Before I configured each of my subdirectories with one extra location block in my nginx file. These ...
1
vote
1answer
92 views

NGINX don't parse .php5 as .php

I have installed nginx with ISPconfig. Everything works fine except some websites I have ported from apache server unfortunately have .php5 extension and I don't know how to make nginx to parse them. ...
0
votes
0answers
20 views

QUERY_STRING string not working nginx ubuntu 12.04 EC2 server

I have migrated from apache2 to nginx on my ubuntu 12.04 EC2 server, But its not working I never receive query_string. I'm running nginx with php5-fpm nginx version: nginx/1.4.5 server { listen ...
0
votes
1answer
41 views

nginx php-fpm random/temperamental “No input file specified” error

I've got a page, I'm not using redirects, just going directly to /invite/index.php?code=f13dc6c9be in the browser and it serves up about 50% of the time. The rest of the time the browser displays "No ...
0
votes
2answers
56 views

Django (uWSGI) and php (fastcgi) NGINX

I am new to configuring servers and i'm having issues getting php to work with my django app using UWSGI on nginx. Django works great using uwsgi and php works great when I remove the django site ...
1
vote
2answers
151 views

php5-fpm optimization for long polling

I'm designing a chat application in PHP. I use nginx with php-fpm environment. The problem is, that after several clients connected, PHP scripts are getting very slow. I have just several (5-10) ...
0
votes
1answer
24 views

Cannot get static file with chroot wordpress

I was trying to configure chroot with php-fpm and mysql. I managed to work it out, however when I try to reach files other than index.php (like css, png etc.) it keeps giving 404. However when I ...
0
votes
0answers
18 views

What is the difference between proxy_buffer and fastcgi_buffer?

I inherited an nginx config and I'm trying to optimise it for security, speed, and/or maintainability by removing rules/directives which are superfluous or not doing anything. With this in mind, ...
0
votes
1answer
81 views

nginx & php-fpm very slow on first access

I have a nginx 1.4.5 webserver with php-fpm 5.5.7 running on my server, but if my server stays idle for a while, accessing it is very slow. It takes about 10-20 seconds to get the response (first ...
1
vote
1answer
41 views

nginx/php-fpm “primary script unknown” when serving from a complex path

I have a web app (simpleSAML.php) wrapped in a Wordpress widget that needs to serve paths like the following: ...
0
votes
0answers
154 views

Nginx + php-fpm + Zend Opcache + php 5.3.10 - Dynamic Generated CSS|JS

I have the Zend Opcache pecl extension working almost completely- except for that I have 4 files that technically are content-types of css and js - but are "php" files and get sent through fastcgi and ...
1
vote
1answer
93 views

Constantly have to reload PHP-FPM

We have a fairly heavily loaded server running nginx and PHP-FPM. We have 6 websites on this server, running PHP-FPM and nginx. Software is all vBulletin 3.8 and Wordpress. Databases are on a separate ...
2
votes
2answers
354 views

Nginx + php-fpm - Each php-fpm process 70-100% cpu when running

I have a situation in which the following is taking place: We are on linode with 8-core, 8gb of ram , 2.6 ghz - using nginx + php-fpm - we are getting extremely high graphs of cpu usage (which we ...
0
votes
0answers
36 views

FastCGI sent in stderr: “Primary script unknown” file not found

I have installed nginx and php (fpm). static files are being served fine. I created a simple info.php <?php phpinfo(); I browse to my url http://xx.xx.xx.xx/info.php and see a: File not found. ...
1
vote
0answers
40 views

Nginx isn't redirecting right

I'm starting with Nginx and have a lot of problems since things change from Apache to Nginx. Right now I have a application developed in Symfony1.4 which don't work since I get a 404 Not Found error. ...
0
votes
1answer
33 views

Nginx doesn't find subdirectories and also doesn't run index.php at default directory

I changed from Apache to Nginx and now I'm having some problems. When I try to access to any folder as for example http://devserver/monitor/web where I have a Symfony project I get 404 error When I ...
0
votes
1answer
63 views

NginX Causing PHP File To Be Executed Twice

I'm between a rock and a hard place trying to figure out why this is going on. For some reason, when I open my website the index.php file is being executed. I have been able to narrow it down to ...
0
votes
2answers
38 views

PHP Files downloading (source code) instead of running Nginx&PHP5-FPM

When browsing to a page on the site the page is being download instead of running Nginx Config - user www-data www-data; worker_processes 4; events { worker_connections 2048; } http { ...
2
votes
1answer
68 views

Nginx $uri variable is truncated during processing

We have NGinX as proxy server for PHP web application. PHP scripts are served by PHP-FPM process. Following is the configuration for the nginx: location /app/ { alias /var/www/html; location ...
0
votes
1answer
226 views

Larvel on nginx+php-fpm returns blank page

Hello there! (Hopefully this is posted on the right site since it's more relevant to server admins in my eyes) I'm having this issue with Laravel which is served by nginx + php-fpm, it's just ...
0
votes
0answers
61 views

Nginx Virtualhost; Can't Add Simple Rewrite Rule

I've come up with this pretty handy Nginx virtualhost file for a PHP Codeigniter site. It works as-is, but I'm trying to do additional rewrites and I'm not having any luck. server { listen 80; ...
0
votes
1answer
134 views

Nginx + php-fcgi website loads 4-5 seconds, slow issue

My website started loading for like 4-5 seconds (in peak hours) - it is almost not usable. Traffic: 40MB/s out, 6MB/s in. (almost 95% of out is downloading files 0.5-2GB large). Over 100 simultaneous ...
0
votes
1answer
39 views

Nginx not everyone can connect

Not all connections to our page work. Many people can connect only after like 10 trys.. The page keep load and then it shows a connection times out error. I already tryed much but nothing helped. ...
0
votes
1answer
83 views

nginx + passenger + phpmyadmin = Access denied

I'm confused, i read a lot of information, but still get same error, when i call ../phpmyadmin/index.php Access denied. my nginx configuration file: #user nobody; worker_processes 1; #error_log ...
1
vote
1answer
40 views

Using both mod_php(Apache) and php-fpm(nginx) in one server

Is it possible to use Apache+mod_php and nginx+php-fpm in same server? I know these two servers can NOT share same port, but is it possible to run two different PHP modules in one server? I'm ...
-1
votes
1answer
22 views

Nginx, deny access to certain url

I have a url shortening website. The url shortening is done by PHP. I need to restrict access to certain urls. This means certain url should be blacklisted for shortening. Is there any server side ...
0
votes
1answer
49 views

Can't get pspell to work

I installed aspell\pspell, and if I do > aspell dump dicts ar cs de de_AT de_CH de_DE en en-variant_0 en-variant_1 en-variant_2 en-w_accents en-wo_accents en_CA en_CA-variant_0 en_CA-variant_1 ...