0
votes
0answers
13 views

Enable Soap for PHP 5.5.x on CentOS 6.5

Unfortunately I have to support soap on my server for the Fedex webservice. I recompiled PHP enabling support and it works via CLI but not PHP-fpm. They both point to the same ini file and both show ...
0
votes
1answer
20 views

Nginx does not have access to centos path

Sorry for the rather confusing title, I am trying to understand this error. I have a php file, inside a folder like site.com/src/app/index.php and this site.com folder is placed in /var/www/html/ in ...
2
votes
2answers
50 views

Directory for PHP 5 FPM socket files is deleted after reboot on Ubuntu Server

I've created a directory to store socket files for PHP 5 FPM: sudo mkdir /var/run/php-fpm. It is owned by root:root as well as core PHP FPM process. When PHP FPM is starting, it creates socket files ...
0
votes
0answers
53 views

Set disable_functions parameter per vhost

I'm trying to use the disable_functions directive for php with different values for each of my domains. First time a tried with nginx's fastcgi_param PHP_VALUE. It worked well until I had more than ...
0
votes
1answer
33 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
49 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
47 views

How to correctly recompile PHP?

Using Ubuntu Server 14.04 x64 / PHP 5.5.9-1ubuntu4 (cli) w/ FPM / MySQL InnoDB version 5.5.35 Incredibly frustrated with what was supposed to be a minor issue. Basically, I'm being forced to ...
0
votes
0answers
28 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
24 views

PHP-FPM user permissions after restart

For some reason after I restart php-fpm daemon, files that were generated using PHP (Twig templating cache) aren't accessible by PHP anymore. I think it's something to do with php-fpm user/group ...
0
votes
1answer
58 views

Getting warnings while “make test” PHP on Mac OS X (MySQL PDO->prepare()) [closed]

Here are the results of "make test": ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- ...
2
votes
0answers
32 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
0answers
64 views

User Uploaded Images– Blank Post – Connection reset by peer / FastCGI: incomplete headers

To give a little background, I have a website that permits users to upload images. WordPress is used as a content management system and the posts are immediately published with the image inserted as ...
0
votes
0answers
225 views

Getting multiple pools working using PHP-FPM and Apache 2.4

I've been running into an issue with PHP-FPM pools not being able to start up if they're not on port 9000. I get the following error when I try to start a second pool on, say, port 9001: Jun 13 ...
2
votes
1answer
51 views

How does PHP APC shared memory expiration works?

I am using the APC and see I still have 25MB of free memory. However, in the Cache full count, I see I have 8 already. So, why that happens? And if my understanding is: APC is not a LRU cache, so ...
0
votes
0answers
135 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 ...
0
votes
1answer
65 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 ...
1
vote
0answers
55 views

APC has no system cache entries

I have 2 web servers to provide PHP websites. One server is : Apache + PHP-FPM + APC The other : Apache with MPM-itk + APC. For both of these servers, APC has no cache system entries but only users ...
-1
votes
2answers
395 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. ...
1
vote
2answers
147 views

Relation between PHP-FPM settings and mpm_worker (Apache)

I've a site running Magento on the following setup: Apache 2.4 with mpm_worker PHP-FPM Total RAM in server: 14GB (10GB avilable to Apache/PHP) Each PHP-FPM process consumes approximately 80MB of ...
-1
votes
1answer
46 views

Can't seem to install PHP-FPM5?

I am reading some advice on the internet for a solution to another issue I have. It requires me to change the listen to /var/run/php5-fpm/php5-fpm.sock. I however don't have that folder.. I have a ...
0
votes
2answers
340 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
1answer
50 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
vote
1answer
123 views

How to conditionally set php session cookie within php-fpm www.conf?

I need to set PHP session cookie domain dynamically using php-fpm configuration, pseudo code like this: <If "%{HTTP_HOST} !~ /[0-9]/"> php_value[session.cookie_domain] = ".mysite.com" ...
0
votes
2answers
133 views

Trying to find bottleneck… 60k onsite visitors

I know this will be hard, but I'm willing to try the Q&A route. I have a Wordpress site that currently has 60,000 visitors on the site at once. I'm using an EC2 m3.xlarge, php/php-fpm 5.5.10, ...
1
vote
2answers
560 views

PECL command produces long list of errors

Currently running PHP 5.4 on CentOS 6.5. I installed the webtatic php55w package then installed PEAR+PECL without issue along with redis and mongo through PECL. Shortly after, I realized 5.5 is not ...
1
vote
1answer
127 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
577 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 ...
0
votes
1answer
59 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
48 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
0answers
53 views

PHP upgrade always breaks session folder permissions

Every time I upgrade php (via yum upgrade) on my CentOS box, my /var/lib/session folder ownership becomes root:apache with 600 permissions. I use nginx as my web server. This breaks my site and ...
1
vote
1answer
73 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
0answers
99 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 ...
1
vote
1answer
30 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
0answers
50 views

Webroot directory separation for Apache: suPHP or suEXEC ?

I've been reading a lot about directory permission setup under apache 2.4. Basically I am running a small number of clients with PHP apps on my dedicated Ubuntu (php 5.5.3 + apache 2.4). I know that ...
0
votes
1answer
2k 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 ...
3
votes
1answer
131 views

Save PHP opcache to Memcached

Running on small servers it would make sense offloading these as much as possible for performance. Also offloading will prevent from the server becoming a bottleneck. Therefore I use memcached for ...
0
votes
1answer
97 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
228 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
1answer
2k views

nginx / php-fpm error logging

I'm trying to figure out where the PHP errors are going in my setup. I'm running nginx as the reverse proxy to PHP-FPM, but I'm not seeing the various E_NOTICE or E_WARNING messages my app is ...
0
votes
1answer
170 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
625 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
135 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 ...
2
votes
1answer
240 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
142 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
1answer
68 views

PHP Opcode cache that can detect identical files

I am currently using APC with PHP FPM to cache a few hundred Wordpress sites. With a 2gig cache everything works well but it isn't terribly efficient and the cache is always maxed out. If I have 200 ...
1
vote
1answer
121 views

Should we have one pool for many websites in Apache+PHP-FPM?

If there are many small websites (about 300) running in light web traffic, should they all use the same pool, or would it be better to have a separate pool for each of them? Let us assume the ...
0
votes
1answer
149 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 ...
0
votes
0answers
57 views

What happens when php-fpm's active process count reaches max_children?

The documentation doesn't seem to make it clear what exactly happens if a request comes in to php-fpm and all available processes are active. Does php-fpm queue up the request or does it simply drop ...
1
vote
0answers
44 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
3k 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 ...