Welcome! Log In Create A New Profile

Advanced

Re: after upgrade to nginx 1.16.0, $realpath_root returns incorrect path ?

PGNet Dev
May 05, 2019 01:16AM
On 5/4/19 8:11 AM, PGNet Dev wrote:
> but turning on debug,
>
> 2019/05/04 07:51:50 [debug] 6510#6510: *8 http script var: "/index.php"
> 2019/05/04 07:51:50 [debug] 6510#6510: *8 fastcgi param: "SCRIPT_FILENAME: /usr/local/html/index.php"
>
> the SCRIPT_FILENAME path is incorrect. there appears to be an issue with $realpath_root.
>
> While I'm digging locally for the problem ... question(s):
>
> -- has anything changed in usage of $realpath_root?
> -- are there any php v7.3.6 related issues?
> -- any other hints?

I replaced the $realpath_root var with a literal path string, and
everything works again as expected.

Dropping back to 1.15 branch, all's working again -- with the var.

Rebuilding PHP had no effect, neither did dropping back to earlier PHP
branch(es).

Finally, I trashed all of nginx, and did a clean checkout/build.

And it works. Of course.

No concrete idea what specifically was the problem ... but gone now.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

after upgrade to nginx 1.16.0, $realpath_root returns incorrect path ?

PGNet Dev May 04, 2019 11:12AM

Re: after upgrade to nginx 1.16.0, $realpath_root returns incorrect path ?

PGNet Dev May 05, 2019 01:16AM

Re: after upgrade to nginx 1.16.0, $realpath_root returns incorrect path ?

A. Schulze May 05, 2019 05:42AM

Re: after upgrade to nginx 1.16.0, $realpath_root returns incorrect path ?

PGNet Dev May 05, 2019 10:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 273
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready