Show all posts by user
Introduce yourselves
expream wrote:
> Hello!
>
> I'm using php from centos repo - php 5.1.6. Is there patch for this
> php?
>
> If no... can you please advise reource where I can get stable php+php-
> fpm rpm other version than 5.1.6 ... I have found one at
> centos.alt.ru... but I'm not sure aboit stability... if all patches
> are applied and so on...
>
> thanks.
You should compil
by
Jim Ohlstein
-
Php-fpm Mailing List - English
steven.hartland Wrote:
-------------------------------------------------------
> On Sep 19, 3:24 pm, dreamcat four wrote:
>
> > Hmm I guess you're saying is that the 'make
> install' command copies
> > the php-fpm to /usr/local/bin/ and not
> /usr/local/sbin/
>
> Yep thats the puppy, no biggy I'll update when its
> fixed :)
Are you planning to have
by
Jim Ohlstein
-
Php-fpm Mailing List - English
I'm not going to be able to offer any real opinion on this except to say that you probably can use Perl if you desire. See http://wiki.nginx.org/NginxEmbeddedPerlModule. It says "experimental" but I know for a fact there are some high load sites using it. Beware however, that it is blocking, and that may be limiting depending on how complicated the script is. If it's a short, simple scri
by
Jim Ohlstein
-
Migration from Other Servers
steven.hartland Wrote:
-------------------------------------------------------
> On how to make the port work? Did you have an
> problem with my
> instructions? If so what step and what was the
> error?
It seems to build cleanly on a FreeBSD 7.2 box but the install generates an error.
neptune# make install
===> Installing for php5-fpm-5.2.10
===> php5-fpm-5.2.10
by
Jim Ohlstein
-
Php-fpm Mailing List - English
That's great. Glad I could help.
by
Jim Ohlstein
-
How to...
You can use a "try_files" directive - see http://wiki.nginx.org/NginxHttpMainModule#try_files.
Something like this might work:
location / {
index index.html; #probably redundant
try_files $uri $uri/ @django;
}
location @django {
proxy_pass http://127.0.0.1:8888;
proxy_redirect off;
....
}
This requires a recent version of nginx (0.6.36+, 0.7.
by
Jim Ohlstein
-
How to...
Another possibility is to change ownership of the file to the nginx worker's user and chmod to 600.
by
Jim Ohlstein
-
How to...
Try:
location /path/to/config.file {
allow 127.0.0.1;
deny all;
}
by
Jim Ohlstein
-
How to...
It is pre-installed unless it was disabled during configuration.
If you compiled it yourself and didn't disable it then it's there.
If not, run
C:\> nginx -V
to see the exact configuration. I assume this works in Windows - it does in Linux and FreeBSD - but you may need to put in the full path to the binary.
by
Jim Ohlstein
-
Migration from Other Servers
"SetEnv FLOW3_CONTEXT Development" is a PHP directive not an nginx directive. Not sure how to pass it but perhaps in php.ini? How are you running PHP?
For the rewrite you can use:
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
}
May or may not need "$" after (.*), can try both ways.
But more efficient way, if you are using a recent version
by
Jim Ohlstein
-
Migration from Other Servers
prooi Wrote:
-------------------------------------------------------
> Already tried that, but that didnt really help..
>
> The only thing that changed was, that it didnt
> show up the gateway timeout, but the site still
> takes 1 minute and 1 second to load, which is way
> too much.
The problem is not with nginx. Nginx can't serve the content until the upstream has re
by
Jim Ohlstein
-
How to...
This is your upstream taking too long to process the request.
Try adding
fastcgi_read_timeout 120;
to your configuration. The default is 60.
See http://wiki.nginx.org/NginxHttpFcgiModule#fastcgi_read_timeout.
by
Jim Ohlstein
-
How to...
Try
rewrite /visit/(.*)/$ /logs.php?q=visit&linkfull=$1 last;
rewrite /go/(.*)/$ /logs.php?q=go&linkcode=$1 last;
rewrite /link/(.*)/$ /logs.php?q=link&linkid=$1 last;
rewrite /site/(.*)/$ /logs.php?q=site&linkname=$1 last;
by
Jim Ohlstein
-
Migration from Other Servers
That isn't the point and you know it. But in case you don't I'll make it simple for you. Help or don't help but either way you don't need to be an arrogant ass.
Sent from my Verizon Wireless BlackBerry
-----Original Message-----
From: István <leccine@gmail.com>
Date: Thu, 10 Sep 2009 16:52:50
To: <nginx@sysoev.ru>
Subject: Re: too many open files
as i didn't help thi
by
Jim Ohlstein
-
Nginx Mailing List - English
On Thu, Sep 10, 2009 at 11:16 AM, István <leccine@gmail.com> wrote:
> i would start with google, look up the "how to ask smart questions"
>
This was totally unnecessary and rude. If you do not want to help that's
fine but there is no need to humiliate.
>
> and if you founded it and read it come back to the list.
>
> but from the level of details you gave i pr
by
Jim Ohlstein
-
Nginx Mailing List - English
Have you tried using the UserID module? See http://wiki.nginx.org/NginxHttpUserIdModule. Maybe that can be adapted for your needs.
by
Jim Ohlstein
-
Migration from Other Servers
houseofmore Wrote:
-------------------------------------------------------
> Hello,
>
> Just wondering if there is support for custom
> access logs per directory for a virtual host.
>
> Eg:
>
> location /api/ {
> access_log
> /var/log/nginx/api-access-log;
> }
>
Yes. access_log directive can be in http, server, or location.
See
by
Jim Ohlstein
-
Nginx Mailing List - English
Michael Baudino Wrote:
-------------------------------------------------------
> Hello everyone,
>
> I'm running OpenUpload 0.4.1 (a RapidShare-like
> web-app) on nginx-0.6.32
> with php-5.2.6 and php-apc-3.0.19 (all but
> openupload are from debian
> stable repositories).
>
> Everything is working fine, except that OpenUpload
> is supposed to
> displ
by
Jim Ohlstein
-
Nginx Mailing List - English
Hello,
I don't speak German but I believe that the package you need is libpcre3-dev.
by
Jim Ohlstein
-
German Forum
I've added a section for mailing lists that may be of interest to our readers. For now, at least, and likely for the long term, they will be read only. But they will be searchable.
I've started with the "FreeBSD-Questions" list. I'm willing to add others that people request. Just mention them in the "Site Suggestions" forum.
by
Jim Ohlstein
-
Announcements
This is on a trial basis and we will see how it goes.
Previously we tried this but had trouble with charsets. I believe that problem is mostly solved.
by
Jim Ohlstein
-
Announcements
I'm not a FreeBSD expert by any means but I am managing one FreeBSD box.
On the "standard" FreeBSD port tree you can install the latest series (0.8.x) from nginx-devel (/usr/ports/www/nginx-devel) and those modules are available. However, as I said, I'm no expert, and soI don't know if you can use that port tree on the "pfSense" distribution.
by
Jim Ohlstein
-
Other discussion
Igor Sysoev wrote:
> On Sun, Sep 06, 2009 at 10:32:06AM -0400, ronin wrote:
>
>> error info:
>> Warning: REQUEST_BODY_FILE: open('/dev/shm/client_body_temp/0000000002') failed: No such file or directory (2) in Unknown on line 0
>
> Who show this error ?
> BTW, does Linux allow to create subdirectories in /dev/shm ?
>
>
Yes:
# uname -sr
Linux 2.6.18-128.2.1.e
by
Jim Ohlstein
-
Nginx Mailing List - English
Ilan Berkner wrote:
> I wish I knew about this a month ago :-)
>
> Thanks!!!!
There are Munin modules that will graph connections, requests/second,
and memory consumption.
There's also a python script that can give you more "instant" updates at
http://hostingfu.com/article/quick-nginx-status-script.
>
> On Thu, Sep 3, 2009 at 11:35 AM, raffael <nginx-forum@nginx.
by
Jim Ohlstein
-
Nginx Mailing List - English
That forum is for *Forum* announcements.
Igor makes nginx announcements and they are posted to the mailing list and its integrated forum. If and when another mailing list is created then it will be included as a separate forum along with an RSS feed.
If you would like an nginx annoucements forum before then I will happily create it and you can maintain it. Let me know off list - preferably by
by
Jim Ohlstein
-
Nginx Mailing List - English
ktm Wrote:
-------------------------------------------------------
> I don't know what's happening here, i'm posting at
> the nginx forums and I saw the responses on some
> mailing list by mistake and not at the forums. I'm
> not really sure if nginx forum is integrated with
> mailing list or maybe i understand wrong.
The incoming (POP3) mail imported stopped working for so
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sun, Aug 30, 2009 at 10:55:57PM -0400, Jim Ohlstein wrote:
>
>
>> Igor Sysoev wrote:
>>
>>> On Sun, Aug 30, 2009 at 11:52:51AM -0400, Jim Ohlstein wrote:
>>>
>>>
>>>
>>>>>> 2009/08/30 10:29:00 2042#0: open socket #1023 left in
>>>>>> connection 1015
&g
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sun, Aug 30, 2009 at 11:52:51AM -0400, Jim Ohlstein wrote:
>
>
>>>> 2009/08/30 10:29:00 2042#0: open socket #1023 left in connection
>>>> 1015
>>>> 2009/08/30 10:29:00 2042#0: aborting
>>>>
>>>> Other servers seem to be running fine including ones with busy sites.
>>>> For the m
by
Jim Ohlstein
-
Nginx Mailing List - English