The Ubuntu guys merged Debian experimental PHP 5.3.3 into bzr for Ubuntu 10.10 Maverick. https://launchpad.net/ubuntu/maverick/+source/php5 I changed the release tag to Lucid and disabled running mysqld for testing (which seems to be new, not sure why it doesn't work on Lucid atm) and uploaded to my Launchpad PPA. It compiles, with various warnings, and php-fpm runs on my testing server wiby brianmercer - Php-fpm Mailing List - English
brianmercer Wrote: ------------------------------------------------------- > > I have on the end of my blog (generated page): > > > > <!-- Dynamic page generated in 0.107 seconds. > --> > > <!-- Cached page generated by WP-Super-Cache on > > 2010-08-04 18:55:06 --> > > <!-- Compression = gzip --> > > > > So it's workiby brianmercer - Nginx Mailing List - English
Piotr Karbowski Wrote: ------------------------------------------------------- > On 04.08.2010 12:06, Max wrote: > > Hi Piotr, > > > > Thanks. I tried your rewrite rule, but it seems > it doesn't work with > > multisite. I can't see any cache page generated. > > You need change something in wp-super-cache for MU > if I remember correct > (checby brianmercer - Nginx Mailing List - English
This works for me: location = /status { include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME /status; fastcgi_pass php; access_log off; }by brianmercer - Php-fpm Mailing List - English
brianmercer Wrote: > With nginx, if you have both an "error_page 404 > 404.html;" directive in your nginx config and > "fastcgi_intercept_errors on;" then you'll get > your specified error page. If you don't, then > nginx does not send its default 404 page, it just > sends a white screen with a 404 code. Make that error_page 404 =404 /404.txt;by brianmercer - Php-fpm Mailing List - English
Rodrigo Dlugokenski Wrote: ------------------------------------------------------- > I tried another approach, installing php-cgi. > > I figured out now, because in my browser php-cgi > returned "No input > file specified". Then i figured that something was > wrong in my > nginx.conf. > > I need to change fastcgi_param SCRIPT_FILENAME > /srv/hby brianmercer - Php-fpm Mailing List - English
On 7/23/2010 6:21 PM, Tom Boutell wrote: > So my questions are: > > 1. Was the old FPM removed from php-cgi in 5.3.3? > > 2. If so, wouldn't this cause considerable disruption for those of us > who are using it if we upgrade to 5.3.3? If so, documentation of what > to do in order to transition between the FPMs would be very useful. > > 3. Does the new FPM provide sharby brianmercer - Php-fpm Mailing List - English
Fred Wrote: ------------------------------------------------------- > Hello > > This is the first time I install Nginx, so this is > probably a very > simple problem to solve for experts, but I'm lost > at what to try. > > As far as I can tell, Nginx works fine, the > PHP5-FPM processes are up > and running as well, but when I hit the server... > &gby brianmercer - Php-fpm Mailing List - English
Gilles Ganault Wrote: ------------------------------------------------------- > On Thu, 15 Jul 2010 16:12:17 +0200, Gilles Ganault > wrote: > >But I wonder if this the right way to solve the > problem :-/ > > With some external help, I changed "default" to > this, but still not > working :-/ It's either 404 or 403 > > http://pastebin.com/xC3by brianmercer - Nginx Mailing List - English
Gilles Ganault Wrote: ------------------------------------------------------- > On Thu, 15 Jul 2010 15:03:17 +0200, Jérôme Loyet > wrote: > >supervisord is a delayed curative solution as > it's not integrated in > >the solution. It has to check availability of the > solution at a > >certain frequency. FPM supports this natively > which makes it a realby brianmercer - Nginx Mailing List - English
Xin Liu Wrote: ------------------------------------------------------- > Hi all, > > My server is Debian. And I installed nginx > (0.7.67-1) to host my webpage. > The problem is that, everyday on 06:25PM (New York > time), nginx will > generate a new log file and rename the old log > file nginx.log.1. > I've checked server, there is no schedule job. And >by brianmercer - Nginx Mailing List - English
Long Wrote: ------------------------------------------------------- > I downloaded PHP 5.3.2 and checked out the 5.3 > version of PHP-FPM (not > trunk). > > After it's installed, I try "php-fpm start", but > that just spits out > the runtime options. When I try "sudo php-fpm", I > get the following > error: > > Jun 08 22:43:54.4854by brianmercer - Php-fpm Mailing List - English
I started fixing a couple typos in the php-fpm.conf.in file and then one thing led to another and I got carried away and ended up rewording and reformatting. I hope it's useful. http://www.brianmercer.com/files/php-fpm.conf_.in_.txtby brianmercer - Php-fpm Mailing List - English
Avleen Vig Wrote: ------------------------------------------------------- > This is currently doing the rounds, so I thought > it pertinent to post > it here too. > > http://www.webhostingtalk.com/showthread.php?p=680 > 7475#post6807475 > > I don't know what nginx should do to fix this, but > there are two > workarounds given. > If you allow file uploby brianmercer - Nginx Mailing List - English
Dennis J. Wrote: ------------------------------------------------------- > Hi, > I'm trying to compile php-fpm but it seems it just > doesn't get built. > I extracted php-5.2.13, applied the patch for that > version, did a > "buildconf --force" followed by "configure > --enable-fpm". I get no > errors and can "make" successfully too.by brianmercer - Php-fpm Mailing List - English
Jérôme Loyet Wrote: ------------------------------------------------------- > FYI: > > configure: WARNING: unrecognized options: > --with-ttf, --with-libevent > > replace > --with-libevent=shared,/usr > by > --with-libevent-dir=/usr Thanks Jérôme. I'll get that fixed today.by brianmercer - Php-fpm Mailing List - English
elb Wrote: ------------------------------------------------------- > Hey guy, > > it seems, fpm needs autoconf2.13 to be installed. > but since Ubuntu10.4 has autoconf2.64 installed by > default, you was unable to configure php-fpm! > > so run apt-get install autoconf2.13 as root user > and everything's going to be fine, i guess. Installing autoconf2.13 is worby brianmercer - Php-fpm Mailing List - English
Stephen Crosby Wrote: ------------------------------------------------------- > brianmercer, > > Thanks for doing this. I'm testing it now. Right > off the bat I'm noticing a > dependency on php5-cli which probably doesn't need > to be there, but that's > pretty minor. So far its looking good. > You're right, I'll take that out. For some reason, I was confusiby brianmercer - Php-fpm Mailing List - English
Antony Dovgal Wrote: ------------------------------------------------------- > On 12.05.2010 23:52, Matthew Barr wrote: > > I'd really love to get this fixed, so I can use > a nicely packaged version. > > I have to compile from source already, since we > use Oracle here. > > Please try this patch: > http://dev.daylessday.org/diff/fpm_external_build. > diby brianmercer - Php-fpm Mailing List - English
Antony Dovgal Wrote: ------------------------------------------------------- > On 12.05.2010 23:52, Matthew Barr wrote: > > I'd really love to get this fixed, so I can use > a nicely packaged version. > > I have to compile from source already, since we > use Oracle here. > > Please try this patch: > http://dev.daylessday.org/diff/fpm_external_build. > diby brianmercer - Php-fpm Mailing List - English
Sorry, the hyphen in there is probably a debian/rules thing. It's not a compile option. It's just a workaround to create the missing directory. At line 538 of that spec file it is making the subdirectories. Should I assume you are adding build-fpm to that list as a subdirectory for building fpm? At some point in the process the directory build-fpm/sapi/fpm will exist but the directory buiby brianmercer - Php-fpm Mailing List - English
Matthew Barr Wrote: ------------------------------------------------------- > (This is a repost, because I don't think anyone > actually saw this. It was deep in a thread, vs > it's own new thread.) > > Has anyone been able to build using SRPMS / Spec > files for RHEL/Centos 5? I'm using fedora > upstream spec files from Remi Collet . He's one of > the Fedora PHby brianmercer - Php-fpm Mailing List - English
I have an Ubuntu Lucid package of php5-fpm at https://launchpad.net/~brianmercer/+archive/php if you want to try using that instead of compiling. I used the Ubuntu source package and kept all the same patches and compile options. It's based on a recent svn version and installs a /etc/php5/fpm/php5-fpm.conf file that uses the ini format. Try out the fcgiwrap package while you're at it. https:/by brianmercer - Php-fpm Mailing List - English
RoastedPeanut Wrote: ------------------------------------------------------- > If any of you have found a stack they're > completely happy wight, I'd like to hear it :) If you're using debian/ubuntu then dotdeb.org has PHP 5.3.2 in their repository based on the php.net svn with php-fpm already compiled in. No compiling required, just apt-get. (and a couple manual packages for ubuntuby brianmercer - Nginx Mailing List - English
Igor Sysoev Wrote: ------------------------------------------------------- > On Mon, Nov 09, 2009 at 05:34:11PM +0700, Glen > Lumanau wrote: > > > So I can't use such a configuration > > > > server { > > listen 443; > > rewrite (^.*) https://www.mydomain.com$1 > permanent; } > > > > ? > > The following configuration shouby brianmercer - Nginx Mailing List - English
I would like to use Nginx to retrieve pages placed in a memcached bin by Drupal caching. The Drupal key appears to be: cache_page-http%3A%2F%2Fexample.com%2Fcontent%2Fquadrum-utinam Using ... set $memcached_key cache_page-$scheme://$host$uri; memcached_pass 127.0.0.1:11211; ... does not produce a match. I get: key: "cache_page-/content/quadrum-uby brianmercer - Nginx Mailing List - English
Small error in there. That would have to be: location / { try_files /pr/cache/$uri $uri /pr/index.php?q=$uri; } location ~ \.php$ { ... } or : location / { try_files /pr/cache/$uri $uri @dynamic; } location @dynamic { rewrite ^/(.*)$ /index.php?q=$1 last; } location ~ \.php$ { ... } We have to use the second version withby brianmercer - How to...
With Drupal we use a static file caching module called Boost. I assume you're doing something like that or Wordpress's WP-Supercache. We use extra @cache and @dynamic locations to check for "logged in" cookies, to set expires headers and to simplify logic for other locations: http://drupal.org/node/244072#comment-1756574 However, in its simplest form, what you're asking for is thby brianmercer - How to...
Try server { listen 80; server_name ~^[^.]+\.[^.]+$; # domain.com rewrite ^ http://www.$host$request_uri?; } from http://forum.nginx.org/read.php?2,2924,2936#msg-2936 testbot Wrote: ------------------------------------------------------- > That goes rewrites to http://www..com/ > > > -----Original Message----- > From: owner-nginxby brianmercer - Nginx Mailing List - English
Give this a try: server_name something-code1.company.com ~something-.*\.company\.com; The tilde at the beginning identifies it as a regular expression.by brianmercer - How to...