1
vote
1answer
14 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 ...
1
vote
2answers
219 views

Why can nginx access /etc/passwd? [on hold]

I'm trying to setup my new VPS with my couple sites. nginx, php-fpm and other needed services installed. I setup a nginx server block(virtual hosts) for my site, and then try to create a php file ...
0
votes
0answers
29 views

Which particular exploit is this? [closed]

My nginx access.log file is filled with entries like this: 61.164.70.234 - - [08/Apr/2014:01:34:01 +0000] "\xD54j\x0B\xB7.\xDCG\x95\x91e-6} \x1Am\xF2\x00\xD9\xDD\x7Fn.\xDB ...
0
votes
0answers
13 views

best logic to Load balancing YiiFramework web app

I'm going to launch a Yii framework app next days, and i'm currently searching the best way to deploy it in order to scale and support high traffic. I use Amazon RDS to host the DB, and 2 Memcached ...
0
votes
2answers
48 views

PHP exec “unable to fork” intermittent error on CentOS VPS

Using: PHP 5.5.10 nginx 1.5.10 Centos 6.5 a xen-based 4GB VPS My site uses encrypted paypal buttons. This encryption is done by the following code: $openssl_cmd = "($OPENSSL smime -sign -signer ...
1
vote
1answer
28 views

Server stopped working after update to php 5.5.0

I'm running nginx on ubuntu server 12.04 and I just updated to the most recent php package as follows http://phpave.com/upgrade-php-5-3-php-5-5-ubuntu-12-04-lts/#.Uzsho1RdURg. In the final part of ...
0
votes
0answers
33 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
0answers
9 views

Nginx-watch script - issue with inotifywait not seeing changes

I'm using Nick's excellent nginx-watch script to monitor an nginx.conf file in www root so that it reloads a couple of wordpress plugin nginx configurations automatically as soon as they change (BWPS ...
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 ...
0
votes
0answers
8 views

wordpress- pages not showing [duplicate]

I am having some problem with my wordpress. When I create a new page in wordpress the page gets saved but when try to access that page it show "500 Internal Server Error" Can anyone please help me ...
0
votes
2answers
61 views

How to install multiple versions of PHP on one server?

I want to have two versions of PHP on one server and switch between them using a symlink. I have PHP 5.3.2 installed. I want to install PHP 1.4.6 along side it and be able to switch back and forth ...
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
19 views

Nginx rewrite and 50x.html

I'm trying to set up a website where writing for example /users/add redirects me to /index.php?table=users&action=add I wrote the following rules: rewrite ^/(.+)/(.+)/$ ...
1
vote
0answers
28 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
0answers
22 views

nginx wont cache images when they are read through php files

i have .php file wich is loading images to hide their location. Every images are correctly caching through this directive: location ^~ \.(jpg|jpeg|png|gif|ico|css|js)$ { expires max; ...
1
vote
1answer
59 views

WT-NMP - PHP-CGI randomly stops running with no error log

We have recently installed WT-NMP and are currently running Php-Cgi with php 5.4.24. We are running fairly simple php scripts and when testing everything is running fine. Over the weekend we wanted ...
0
votes
1answer
221 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
40 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
1answer
54 views

Nginx. Using redirects with regular expressions

I'm a newbie to nginx. I have the nginx before Apache and I'm having problems. I seem to need 2 rules in the config: Rule 1) if we have url "/my_path" we don't touch it but user goes to ...
0
votes
2answers
54 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
3answers
56 views

nginx - linux permissions interesting issue

I'd like to get some answers or suggestions to my problem. So I'm getting a simple error: 2014/02/16 12:01:43 [error] 7384#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading ...
0
votes
0answers
39 views

PHP-FPM and NGINX configuration for dedicated server

Recently bought server http://www.hetzner.de/en/hosting/produkte_rootserver/ex60 Installed Ubuntu 13.10, nginx webserver, php-fpm. It's for large auditory website. Now I'm bit confused about PHP-FPM ...
0
votes
1answer
32 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
0answers
23 views

Nginx URL rewrite / mask

Currently, my $_GET parameters are ordered alphabetically (a, b, c, d, etc...) For example: https://domain.com/?a=Menu1&b=Menu2&c=Menu3 What I want is this URL: ...
0
votes
0answers
26 views

Nginx urls that maps to php files?

I'm trying to configure my nginx server such that any php file will be accessible without giving it's extension. I'm already aware of many similar questions/answers like ...
0
votes
1answer
68 views

fastcgi_pass directory not available on Apache + Nginx, how to find it?

I have a CentOS, Apache and Nginx installation. It uses php 5 handler as fcgi. This server uses WHM cpanel and easyapache. fcgi apply by using easyapache. These installation done by my hosting ...
0
votes
1answer
61 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 ...
-4
votes
1answer
21 views

Does Nginx support ssh connections? [closed]

I want to build a site with nginx as HTTP server and MariaDB as SQL server. I'm searching in Google if nginx support (or its included) the ssh support to execute ssh_connect thru PHP files, but I ...
2
votes
1answer
65 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
0answers
48 views

Nginx rules for http and https routes

I use arch Linux and trying to use secure routes for a laravel(php framework) based blog. I am trying to get both "HTTP" and "HTTPS" routes for logged in areas work with nginx with Virtual Hosts ...
0
votes
0answers
10 views

wordpress not serving fine with django [duplicate]

mysite.com/admin/ [ gives django admin panel fine] Error : mysite.com/blog/index.php [ downloads index.php instead of serving it ] Error : mysite/blog gives error from django page not found ...
0
votes
0answers
69 views

setup nginx to serve django and wordpress blog as subdirectory

upstream django { server unix:///home/ubuntu/web/www.mysite.com/uwsgi-tutorial/mysite/mysite.sock; # for a file socket } server { listen 80; server_name mysite.com www.mysite.com; ...
1
vote
2answers
160 views

Another PHP NGINX error: “No input file specified”

I looked through about 5 questions and blog posts already and tried everything they told me without luck. I can browse to www.example.com/phpinfo.php, but not www.example.com/index.php. I even went so ...
0
votes
1answer
80 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
27 views

PHP on Nginx configuration files

I've found a few guides on the internet on how to configure Nginx to work with PHP, but I still have one question should I add the the code below to the nginx.conf or to the sites-enabled? All of my ...
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 ...
1
vote
0answers
29 views

Paths Generated by PHP Applications Incorrect In Fedora nginx php-fpm Setup

I have been having several issues with certain PHP apps lately on my Fedora nginx + php-fpm setup. I originally had this issue with Owncloud, and created a question, without much luck, but I am ...
1
vote
1answer
846 views

nginx, alias, php-fpm = File not Found

I'm trying to set up nginx with DAViCal. However, I'm getting a "File not Found" with a "FastCGI sent in stderr: "Primary script unknown" in the log. Looks like something is wrong with my aliasing but ...
1
vote
2answers
173 views

PHP App (Owncloud) Pages Requesting Incorrect Path for Assets

I have a VPS set up with php-fpm and nginx (with ssl). I have set up Tiny Tiny RSS already, and it works just fine. However, I recently attempted to set up Owncloud, and instantly hit a roadblock. I ...
0
votes
0answers
93 views

PHP-FPM 404 and 502 errors

I am using nginx with php-fpm on CentOS 6 with cPanel. I have no installed modules like eAccelerator or APC. Server periodically returns 404 and 502 errors. 404 errors occur when the PHP cannot ...
0
votes
2answers
286 views

nginx with php-fpm downloading php files rather than executing them on mac os x (local environment)

I'm having trouble getting PHP files to execute on my local development machine. I seem to have successfully installed nginx and php-fpm also seems to be correctly installed, and running but can't ...
0
votes
3answers
88 views

Reduce system load when using image processing via php-fpm/nginx

We have a PHP image api written in Code Igniter that's based on imagemagic. We have the api behind nginx/php-fpm. We know the Imagemagic part is heavy, but we try to make the overal throughput higher ...
-3
votes
1answer
143 views

nginx with php-fpm got 502 bad gateway on ubuntu server 12.04 [closed]

I just don't know why i got a 502 error. Please help. you can visit here http://upliu.net/phpinfo.php phpinfo.php just has one line code: phpinfo(); but i got a 502 bad gateway error someone can help ...
0
votes
0answers
32 views

Nginx + chroot'ed PHP-FPM using wrong path

I'm trying to setup a chroot'ed website using Nginx + PHP-FPM, but it's not working as expected (or hoped). When I open the website (example.com/webapp/), it calls ...
0
votes
0answers
46 views

make nginx pass PUT requests to PHP script

I want to upload files with PUT request, to PHP running under NginX (windows if that matters). PHP manual have this instructions for Apache: A line like this would do the trick: Script PUT ...
0
votes
0answers
90 views

Wordpress uppon connect causes php5-fpm cpu 100%

'm administering Debian jessie VPS (2GHz, 1,4GB RAM). Since yesterday have terrible problem, can't even imagine what is it. So, my config is NGINX + PHP5-FPM and Wordpress on top. Now, I've tried: ...
0
votes
1answer
212 views

nginx - 403 Forbidden

I've trouble to get aliases working correctly on nginx. When i try to access the aliases, /pma and /mba (see secure.example.com.conf), i get a 403 Forbidden but the base url works correctly. I read ...
0
votes
1answer
269 views

Magento Error 404 after moving from Apache to nginX

I moved my magento store from Server "A" which was on Apache to Server "B" running NginX. Copied all files and folders, Exported and Imported the SQL DB, Altered the local.xml file with the new DB ...
2
votes
1answer
253 views

nginx+php-fpm(chroot). No input file specifed

OS: Centos PHP: 5.5.6 Nginx: 1.4.4 Nginx conf server { listen 80; server_name example.ltd; root /srv/example.ltd/www; index index.php; access_log /srv/example.ltd/logs/nginx-main.log main; ...
0
votes
1answer
142 views

NGINX not serving CSS & JS

NGINX will not serve CSS or JS files to the browser Link to page (magento) http://836237.vps-10.com/ Access log shows: [01/Dec/2013:16:55:17 +0000] "GET /js/varien/form.js HTTP/1.1" 304 0 ...