Quantcast
Channel: Nginx Forum - Php-fpm Mailing List - English
Browsing all 219 articles
Browse latest View live

nginx 502 bad gateway (no replies)

HiCould someone help me i get the 502 bad gateway every few secondsThe server is running on vps on debian with quadcore and 3g ramhere is the kind of error i can in the nginx log :2012/07/23 15:06:53...

View Article


Nginx + PHP-FPM crashing charset (no replies)

Folks,I manage a server with nginx + php-fpm. I observed that after some time the website is rendered with lot of encoding errors. But the error is solves just after restart php-fpm.Also, I set charset...

View Article


PHP-FPM crashing charset (6 replies)

Folks,I manage a server with nginx + php-fpm. I observed that after some time thewebsite is rendered with lot of encoding errors. But the error is solvesjust after restart php-fpm.Also, I set charset...

View Article

nginx 502 bad gateway some pages (1 reply)

Hi,I don't find the answer into this forum.So i hope you can help me.I use nginx 1.2.2 and some page of my website return 502 bad gateway.- xxxx.html works- yyyy.html 502 bad gatewayxxxx.html &...

View Article

Slow log exception page. (1 reply)

Hi all,I have many php files serviced by php-fpm, most of them execute done in ashort time, so I set request_slowlog_timeout to 2s.But there just one file, will executing for more than 30s, so every...

View Article


PHPFPM and error logging per vhost (no replies)

HelloI'm trying to separate PHP errors into a log file for each vhost, usingjust a single pool configuration. Currently all errors go into/var/log/php5-fpm.logMy environment is Ubuntu 12.04, Apache...

View Article

Location regular expresion explanation (no replies)

Hi,I was recently reading the PHPfastcgi example at http://wiki.nginx.org/PHPFcgiExample. When it talks about the configuration to avoid the exploit on uploads folder, there is a regulare expresion...

View Article

nginx and php-fpm truncating response (no replies)

We are tripping on a problem with php-fpm using php-5.3.14 and nginx 1.2.1 on Centos 6.3 (Redhat 6.3) where a certain php response is coming through with the last two bytes of the response cut off, but...

View Article


a good how to on php-fpm chroot? (4 replies)

Does anyone have a base set of files that are needed to get the chrootdirective for php-fpm to work properly?At first I had issues with the timezone, and I had to copy /etc/localtimeand...

View Article


Can you pass session config via the parameters? (1 reply)

Hiya,I'm using PHP-FPM via Nginx and was wondering if it's possible topass session time out configuration via the fast cgi parameters?As a related question, is there is a list of Fast CGI params...

View Article

Apache to nginx .htaccess (no replies)

HiI'm using Apache and have .htaccess like tihs.RewriteEngine onRewriteCond %{REQUEST_URI} !^/casastatusRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$...

View Article

Strange PHP FPM startup problem / php5-fpm hangs (3 replies)

Hi!I have an strange php fpm startup problem. I'm using PHP 5.3.14 onDebian Squeeze and all is fine.I have now updated to 5.3.16. With 5.3.16 the init script hangs.I start PHP5 FPM...

View Article

Measuring PHP-FPM Outperforming Apache+mod_php (no replies)

I'm interested in ditching Apache+mod_php for HAProxy+nginx+PHP-FPM. I'veread a lot on line of the performance advantages, so I decided to run someexperiments to verify the advantage.I'm having trouble...

View Article


fpm chroot and curl/nss issue (no replies)

Hi,Me again.. so I have the chroot stuff almost done. I ran into aninteresting problem today though.. when we try to use curl to make anoutbound https connection, we get an nss error. I've googled all...

View Article

Apache DirectoryIndex fails to serve file to php-fpm, proxy_fcgi_module (no...

Is it possible to configure php-fpm to serve a default DirectoryIndex fileas apache normally does?When a directory request is received by apache and fcgi is included, apachesends only the directory...

View Article


php-fpm 5.4.6 + httpd 2.4 + mod_fastcgi + unix socket + chroot = impossible?...

I've been struggling for days to get the following setup working:- PHP-FPM (from PHP 5.4.6 core) running with chrooted workers.- httpd 2.4.3 running in a chroot (virtual host docroots are visible...

View Article

PHP-fpm uid and gid (no replies)

Hello,I want to use UID and GID instead of username and group name in pool configuration:Here is what I want to do:user = 100001group = 100001In my PHP-fpm log:ERROR: [pool test1.csrv.pl] cannot get...

View Article


PHP path not correct in phpMyAdmin (cgi.fix_pathinfo) (2 replies)

Howdy,I am having a path problem with php-fpm and nginx.I installed phpMyAdmin, but when I try and login, the path get's set incorrectly. For example the url is:http://web1.mydomain.com/phpMyAdmin/That...

View Article

Upstream timeouts (12 replies)

Hi folks,Getting reasonably frequent upstream timeouts in my nginx error logs:*45896 upstream timed out (110: Connection timed out) while readingresponse header from upstream, client: 127.0.0.1The site...

View Article

Re: PHP FPM processes opening a ton of files and leaving them open (no replies)

Hello , could you please post your current config and if this problemre-occured or not?Thank you!On Sunday, January 1, 2012 1:00:49 PM UTC+2, Joe Auty wrote:>> Awesome, so far this setting change...

View Article
Browsing all 219 articles
Browse latest View live


Latest Images