0
votes
1answer
73 views

Unbuntu 14.04 + Nginx + PHP5-FPM + sqlite3 : pdo sqlite could not find driver

phpinfo() says I have SQLite 3.x driver for PDO. php.ini only mentions sqlite like so: [sqlite] ; http://php.net/sqlite.assoc-case ;sqlite.assoc_case = 0 [sqlite3] ;sqlite3.extension_dir = I ...
2
votes
2answers
218 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
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 ...
0
votes
0answers
71 views

php-fpm process in D state ,cause nfs wait rpc_wait_bit_killable

my wordpress site which is in clustered environment using NFS,nginx,php-fpm,mysql the infrastructure is hosted on amazon ec2.Under high load/traffic the php5-fpm process goes in D ...
2
votes
1answer
257 views

restarting php5-fpm on ubuntu 14.04 with chef

I have this in my chef recipe: service 'php5-fpm' do supports :restart => true action [ :enable, :start ] end However my recipe now barfs in Ubuntu 14.04, as "/etc/init.d/php5-fpm restart" ...
0
votes
1answer
121 views

nginx - CPU usage goes to 100% and php5-fpm stops when processing concurrent requests

I am processing php file with nohup command so that it should run in background. But when I process more than 20 nohup commands then cpu usage goes to 100% and php5-fpm crashes results in connect() ...
0
votes
1answer
40 views

Installing php5-fpm but missing www.conf on ubuntu

I am installing php5-fpm on my ubuntu system but could not able to find www.conf file under pool.d directory. In my /etc/php5/fpm folder, there are only 2 directories - conf.d and pool.d Command ...
1
vote
1answer
119 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
1answer
134 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 ...
0
votes
0answers
50 views

Aptitude safe-upgrade hangs on php5-fpm update-rc.d warning

When running sudo aptitude safe-upgrade on my Ubuntu 12.04 LTS server, I keep receiving this warning: update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB Default-Stop ...
1
vote
1answer
65 views

php-fpm process running when using mod_php

I've been having some out of memory issues. Pretty much there after tuning Apache but I have noticed something odd when analyzing memory usage. php-fpm is running in the background when, as far as I ...
1
vote
1answer
27 views

Is multiple php5-fpm processes normal

I'm running several wordpress sites in a LEMP (Ubuntu Linux, Nginx, MySQL, PHP) stack. Looking at the running processes I can see there are two php5-fpm processes. Is this normal or have I done ...
0
votes
1answer
76 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
491 views

PHP-FPM with Apache 2.2.22 and Ubuntu 12.10 - 500 Error, or returns text (not executing)

I am following this tutorial to try to install PHP-FPM on my LAMP stack. My config in /etc/apache2/sites-available/default contains (as per the guide) <IfModule mod_fastcgi.c> Alias ...
0
votes
1answer
118 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 ...
0
votes
0answers
96 views

WARNING: [pool web2] seems busy even pm.max_spare_servers is not yet reach

I'm confused why this error still occur as I still have lots of spare servers left. WARNING: [pool web2] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers) Here's ...
1
vote
0answers
94 views

(111 connection refused) while connecting to upstream

I have a ubuntu 13.10 server with nginx and php5-fpm installed, the server has just been started and as such i am sure it is not a buffer or connection overload issue. I have set the site config in ...
1
vote
1answer
84 views

php5-fpm does not initialize after ubuntu 12.04 reboot

When I reboot my Ubuntu 12.04, php5-fpm doesn't run automatically. However nginx does start automatically. I am using Unix socket instead of TCP\IP This is the output of /etc/init.d/php5-fpm status ...
0
votes
0answers
444 views

Should I Set pm.start_servers to Highest Value or Not?

I have the following settings on my PHP-FPM: pm.max_children = 256 pm.start_servers = 50 pm.min_spare_servers = 40 pm.max_spare_servers = 128 Even if I set it to higher value, I still get the ...
0
votes
3answers
127 views

Can't get apache running on server with nginx

I've been kind of thrown into the roll of sys admin at my office and don't really know what I'm doing. I'm running Ubuntu 12.04. The server for our website is currently running nginx. The site keeps ...
0
votes
0answers
16 views

php-fpm not parsing php-fpm.conf

I have an Ubuntu 13.10 server with vanilla nginx and php5-fpm installed. When I start the service with service php5-fpm restart it appears the /etc/php5/fpm/php-fpm.conf file is not being loaded. I ...
1
vote
1answer
111 views

Index file redirects in nginx

Scenario I have a website with the following structure: /index.html /about/index.html /contact/index.php /contact/send_email.php I would have liked to make the URL's cleaner, so I would be the ...
0
votes
2answers
382 views

I'm getting a 403 Forbidding error with phpmyadmin

I'm running ngnix and php5-fpm and I'm on Ubuntu 13.04 server { server_name website.com; access_log /srv/www/website.com/logs/access.log; error_log /srv/www/website.com/logs/error.log; root ...
0
votes
1answer
65 views

After rewriting, nginx doesn't use php-fastcgi

I'm having trouble with an nginx rewrite. I want to rewrite ^(.*?)/(.*?)/?$ to controllers/$1.php?action=$2. This worked for me on an Apache server earlier. After that, I want to route that file to ...
0
votes
1answer
695 views

Php-fpm displays “fail” on starting

I run Ubuntu 13.04. I installed the nginx package and I compiled php-5.4.15 from source to run php-fpm. The problem is that when I do sudo service php-fpm start I got Starting php-fpm ...
0
votes
2answers
119 views

PHP scripts time out but regular pages are snappy

I'm having a strange issue with nginx and PHP-FPM. I have a server set up to serve downloads for my website. It's not very beasty, it's only a Celeron G530 and 4GB of RAM, because of this, I'm running ...
0
votes
1answer
211 views

I am unable to install php5-apc on my Ubuntu server

I am unable to install php5-apc. I don't seem to get any errors. root@applications-server-1:~# aptitude install php5-apc The following NEW packages will be installed: php5-apc{b} 0 packages ...
0
votes
1answer
114 views

Compiling / installing up-to-date nginx with fastcgi_cache on Ubuntu 12.04?

What is the recommended path to compile or install nginx with fastcgi_cache on Ubuntu 12.04 LTS precise that works with up-to-date nginx-common (read >= ver 1.2.7) packages? Or is there a method to ...
0
votes
1answer
613 views

Installing php5-fpm, missing pool.d directory

Novice here, so please be gentle :) I'm installing Nginx with php5-fpm on a Ubuntu 10.04 box according to this guide by ArsTechnica: ...
1
vote
3answers
2k views

Error configuring and installing PHP 5.3.21 on Ubuntu 12.04

I'm trying to install PHP 5.3.21 on a Rackspace Cloud Server running Ubuntu 12.04 but I keep running into errors during configure. It keeps giving me the following error: configure: error: Cannot ...
1
vote
1answer
1k views

php5-fpm not responding

I've migrated to php5-fpm on nginx setup ~2 months ago. Everything was fine until a few days ago, when I noticed my php websites not responding (the browser would simply just wait for data and ...
0
votes
1answer
374 views

Php5-fpm too much memory usage nginx and ubuntu 11.04 32bit

I recently got vps with 512MB ram. I install nginx 1.2.4 with ph5-fpm and a simple wordpress installation . I currently have no traffic as its in development mode.But still It shows 495MB used and 80% ...
1
vote
1answer
92 views

How to setup a “server is down” message like Reddit and Twitter does? [closed]

I have a VPS with our Ubuntu LoCo Team's blog, but I want to setup a message that says the server is down when it happens, like Reddit and Twitter does. For example, if I restart the server or my VPS ...
0
votes
2answers
136 views

Nginx serving off the wrong root

I have 2 sites-enabled, with server_name as follows: server_name www.mysite.com mysite.com and server_name dev.mysite.com Problem: When I access the website via its IP address, by looking at the ...
0
votes
1answer
102 views

Upgrading PHP-FPM while minimizing downtime

I am running nginx 1.2.6 on Ubuntu. With nginx, I can perform upgrades gracefully, so that no incoming requests will be lost. Is there any process like that for PHP-FPM? If so, what is the process ...
-1
votes
1answer
204 views

Nginx php-fpm high cpu usage [closed]

I have a problem with a high traffic wordpress, super high CPU load under nginx php-fpm, I am caching with apc, and memcached, spent 2-3 days tweaking configs and looking for answers it seems to me ...
1
vote
1answer
598 views

Locate cause of high load. Checked CPU, Memory/Swap and IO - all low. Running Nginx, MySQL and PHP-FPM on this Ubuntu 12.04 box [duplicate]

Possible Duplicate: 100% CPU when doing 4 or more concurrent requests with Magento people. This is my first question, but this community has been helpful to me hundreds of times, so thank ...
-2
votes
1answer
304 views

php.ini Error on “error_reporting”

I found the error by trying to change php.ini. root:/etc/php5/fpm# php5-fpm -i | grep "post_max" PHP: syntax error, unexpected '|' in /etc/php5/fpm/php.ini on line 110 post_max_size => 8M ...
0
votes
1answer
545 views

Nginx editing php.ini changes no reflecting

phpinfo says the file location is /etc/php5/fpm/php.ini. Additional .ini files parsed /etc/php5/fpm/conf.d/curl.ini, /etc/php5/fpm/conf.d/gd.ini, /etc/php5/fpm/conf.d/mcrypt.ini, ...
1
vote
1answer
1k views

502 Bad gateway on big file uploads : Nginx + PHP-FPM

I'm running php-fpm on nginx I have my php.ini values set as follows upload_max_filesize = 100M post_max_size = 128M max_execution_time = 180 I have also set my client_max_body_size to 4G. When I ...
0
votes
1answer
5k views

Unable to install PHP-FPM on Apache (Failed to connect to FastCGI server)

I have been having problem installing php-fpm for use with apache2-mpm-worker. This is the guide that I am following. According to the guide's Step 5, Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi ...
0
votes
1answer
254 views

Ubuntu 12.04 php5-fpm stopped recognizing MySQL

So this morning I used aptitude to install a few security updates. Seemed innocent enough until stuff stopped working. Somewhere along the way, a few packages got dropped, I guess. Now PHP ...
1
vote
0answers
231 views

Need help optimizing a LEMP setup on a 4GB dedicated server

Recently i got a project i'm working in financed by a friend. So he gave me access to a 60mbps dedicated connection link and a HP Compaq 8200 Elite. The HP is just a desktop, but i'm using it as a ...
2
votes
1answer
503 views

Using a mounted NTFS share with nginx

I have set up a local testing VM with Ubuntu Server 12.04 LTS and the LEMP stack. It's kind of an unconventional setup because instead of having all my PHP scripts on the local machine, I've mounted ...
0
votes
0answers
287 views

PHP stop working after a server reboot

I reboot my server and suddenly the PHP-FastCGI stop working . I try to do - /etc/init.d/php-fastcgi restart Also i try to restart my Nginx : /etc/init.d/php-fastcgi restart How can i turn on ...
0
votes
1answer
246 views

Trying to setup virtual hosts on unix PHP on nginx

I have tried to install php5-fpm and Nginx on Ubuntu machine, but I got a problem. When I have only one virtual host on a unix port it is all fine but when I try to add another virtual host Nginx goes ...
2
votes
1answer
225 views

How to cut php-fpm IOPS

I have Amazon EC2 instance with NGINX + PHP-FPM (through socket) + APC. I see sth. like this in iotop on high load. Total DISK READ: 0.00 B/s | Total DISK WRITE: 0.00 B/s TID PRIO ...
5
votes
1answer
945 views

Setting $PATH for weberver user

I tried to add $PATH for all users including the webserver user (i.e. www-data) with different methods such as editing /etc/profile, /etc/environment, etc. In all cases, it works in terminal, but not ...
1
vote
2answers
506 views

Nginx closes connection while PHP-Fpm is processing

I have a PHP script that does some data processing. The time that it takes to the script to finish all the job is based on the user input. It's not unusual that it takes 5-15 minutes of processing. ...
2
votes
5answers
2k views

Update to recent stable php in Ubuntu 12.04

We run an Ubuntu 12.04 server where php 5.3.10 is installed by default. I thought Ubuntu did only apply bugfixes in their updates, so micros like 5.3.x should pass through. Apparently, our version ...