Thanks for sharing your findings!
El 25 may. 2017 8:03 p. m., "John Iliffe" escribió:
> Didn't get a lot of help on the PHP list but the one fellow who tried is
> still running PHP-5. So, I backed off to PHP-5.6.30 which is the most
> recent stable version of PHP-5 and it worked perfectly.
>
>
Didn't get a lot of help on the PHP list but the one fellow who tried is
still running PHP-5. So, I backed off to PHP-5.6.30 which is the most
recent stable version of PHP-5 and it worked perfectly.
If you look at the PHP-7.1.3 or 7.1.5 source in fpm_main.c there is a lot
of commentary about b
Thanks Christian.
That's how I thought it would play out. Very frustrating to be unable to
get something that is used by thousands of web sites working properly on
mine!
John
On Monday 22 May 2017 05:49:13 Christian Hettler wrote:
> Hello John,
>
> I think you
Hello John,
I think you should try it on an php related list.
sorry,
Christian
On Sat, May 20, 2017 at 01:15:36PM -0400, John Iliffe wrote:
> Hi Christian:
>
> I have been trying several things on this piece of frustration, with very
> little result, but I do have some additional information
Hi Christian:
I have no requirement that I know of for a custom php.ini, just noticed it
in the strace just before the errror message was issued. I don't use the
.htaccess files on this server.
Yes, chroot is set to /
; Note: chrooting is a great security feature and should be used whenever
;
Hello John,
".user.ini" is for "user-defined php.ini (.htaccess) files". It's mentioned
in /etc/php5/fpm/php.ini on my plattform. It doesn't matter if it's missing.
Is php-fpm configured with chroot?
regards,
Christian
On Thu, May 18, 2017 at 10:44:41AM -0400, John Iliffe wrote:
> Hi Christian
Hi Christian:
Result: "No Input File Specified"
First, thanks for spending the time to explain this to me. To some extent
you are saying what I had already thought but I figured I must be missing
something!
The details:
Your second example seems to match exactly what I want to do so I cut a
Hello John,
http://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html
If you want to serve http://your.virtual.srv/info to fpm-php
you have to configure
ProxyPassMatch ^/info$ fcgi://127.0.0.1:9015/httpd/iliffe/
and put the file "info" into the directory "/httpd/iliffe/".
Another example:
To se
Hi Christian:
It didn't work and I think there is something that I am failing to
understand here so, with your forbearance, let me explain my set up and
what I'm actually trying to do. I got a "Not Found" error when I tried
your suggestion.
Configuration:
on directory /httpd are the document
hello John,
a Proxy-request didn't rewrite the url.
If you have http://my.example.com/myapp/script.php
then you can configure with ProxyPassMatch:
ProxyPassMatch "^/myapp/.*\.php(/.*)?$" "fcgi://localhost:9000/var/www/"
where script.php is located at /var/www/myapp/script.php
The parenthesis ab
Yes,
chroot = /
I just sent a (really big!) strace file to this list that shows (I think)
that the request is including more than just the file name. I'm hoping it
makes sense to someone.
Regards,
John
=
On Tuesday 16 May 2017 04:19:08 Christian Hettler
hello John,
Is ChrootDir activated?
regards,
Christian
On Mon, May 15, 2017 at 10:42:37AM -0400, John Iliffe wrote:
> Hi Christian:
>
> I just noticed that you put "" around the parameters to ProxyPassMatch.
>
> I tried that and no change in the results.
>
> John
> ==
Hi Christian:
I just noticed that you put "" around the parameters to ProxyPassMatch.
I tried that and no change in the results.
John
On Monday 15 May 2017 05:21:59 Christian Hettler wrote:
> Hello John,
>
> the manual (mod_proxy_fcgi.html) states:
>
> "The req
Thank you for your suggestion Christian.
Same result. (there are no passed parameters to the script being invoked).
httpd.conf:
ProxyPassMatch ^/.*\.php(/.*)?$ fcgi://127.0.0.1:9015/httpd/iliffe/
Browser:
No input file specified.
Apache error log:
[Mon May 15 10:12:2
Hello John,
the manual (mod_proxy_fcgi.html) states:
"The request URL is implicitly added to the 2nd parameter."
(Did|Can) you try
ProxyPassMatch "^/.*\.php(/.*)?$" "fcgi://127.0.0.1:9015/httpd/iliffe/"
instead of
> # ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9015/httpd/iliffe/$1
Hi Eric:
This may or may not be relevant, but I also have the Surgemail mail client
running by proxying a port 80 address to the Surgemail socket.
The point is, when I started it on Apache-2.4.25 the internal links stopped
working. I had to explicitly give the entire path and everything work
Browser: No Input File Specified
---
Apache access Log
206.248.138.118 - - [14/May/2017:23:58:23 -0400] "GET /info HTTP/1.1"
404 25 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Firefox/45.0"
---
Ap
Hi Eric:
Sorry for the delay, I'm not ignoring you; Fedora 25 comes without strace.
autrace seems to be the replacement but I have been unable to get it to run
properly so far. What happens is the start up thread runs and then
immediately terminates without letting me run an http request. S
The fpm pool, which chdir/chroot values they have? if they do, set chroot
to "/" and comment chdir and try again, just in case.
2017-05-14 17:42 GMT+02:00 Eric Covener :
> On Sat, May 13, 2017 at 11:01 PM, John Iliffe
> wrote:
> > Sure:
> >
> > --
> > # namei -m /httpd/iliffe
On Sat, May 13, 2017 at 11:01 PM, John Iliffe wrote:
> Sure:
>
> --
> # namei -m /httpd/iliffe/i_phpinfo.php
> f: /httpd/iliffe/i_phpinfo.php
> dr-xr-xr-x /
> drwxr-xr-x httpd
> drwxr-xr-x iliffe
> -rw-r--r-- i_phpinfo.php
> --
There's something odd ab
Sure:
--
# namei -m /httpd/iliffe/i_phpinfo.php
f: /httpd/iliffe/i_phpinfo.php
dr-xr-xr-x /
drwxr-xr-x httpd
drwxr-xr-x iliffe
-rw-r--r-- i_phpinfo.php
--
John
=
On Saturday 13 May 2017 19:54:44 Eric Covener wrote
On Sat, May 13, 2017 at 7:56 PM, John Iliffe wrote:
> Hi Eric:
>
> I downloaded the revised mod_proxy_fcgi.c from your link, retrieved the
> backup of the original download of Apache-2.4.25, replaced the
> modules/mod_proxy_fcgi.c, and recompiled using the config.nice file from last
> time. Then
Hi Eric:
I downloaded the revised mod_proxy_fcgi.c from your link, retrieved the
backup of the original download of Apache-2.4.25, replaced the
modules/mod_proxy_fcgi.c, and recompiled using the config.nice file from last
time. Then I moved the new mod_proxy_fcgi.so into the existing Apache
m
Thanks Eric.
I downloaded the mod_proxy_fcgi.c link.
I have to leave here for a while but I will get back on this either tonight
or tomorrow and I'll let you know how it works.
John
==
On Saturday 13 May 2017 16:00:47 Eric Covener wrote:
> On Sat, May 13, 2017 at
On Sat, May 13, 2017 at 4:00 PM, John Iliffe wrote:
> Wow! That was sure fast, Thanks Eric.
>
> I'm not quite sure how to handle a diff file like this so it will take a
> while to try it out. Using the standard Linux/gcc utilities, is there any
> way to fix things up automatically? (sorry, I'm
Wow! That was sure fast, Thanks Eric.
I'm not quite sure how to handle a diff file like this so it will take a
while to try it out. Using the standard Linux/gcc utilities, is there any
way to fix things up automatically? (sorry, I'm not a programmer).
John
==
http://home.apache.org/~jim/patches/mod_proxy_fcgi-v3.patch
On Sat, May 13, 2017 at 3:42 PM, Eric Covener wrote:
> On Sat, May 13, 2017 at 3:43 PM, John Iliffe wrote:
>> O/S Fedora 25, Apache 2.4.25 compiled from source, PHP 7.1.3 compiled from
>> source.
>
> There was a regression in this relea
On Sat, May 13, 2017 at 3:43 PM, John Iliffe wrote:
> O/S Fedora 25, Apache 2.4.25 compiled from source, PHP 7.1.3 compiled from
> source.
There was a regression in this release. Can you try a patch or the
previous release to confirm?
--
Eric Covener
cove...@gmail.com
-
I'm not sure is this is the correct list to post these questions to, since
I now have things isolated to a single module in PHP-FPM, so please
redirect me if necessary. This is a continuation of the problems I was
having (on this list) installing a new server last month.
-
29 matches
Mail list logo