-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Registry settings are no longer recognized #8310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sounds like you found an explanation and it wasn't PHP? |
I had doubts so I decided to double check |
What if you run outside of Cygwin? What if you don't run any PHP file but output settings using the
exactly what do you mean by that? |
I don't see anything in the changelog that says something was fixed in PHP 8.1. |
Me too, but behavior of PHP is changed on 8.1, I think |
This is a pretty serious bug, introduced when the Zend Stream API has been changed to use |
`zend_file_handle->filename` is a `zend_string*` pointer now, so we must not cast to `char*` but rather pass the underlying `char*`.
Which versions are affected? 8.1.0-8.1.4? |
* PHP-8.1: Fix GH-8310: Registry settings are no longer recognized
Description
Since PHP 8.1 local settings of a workdir (from registry of windows) are loaded for scripts from another directory (Case D in STR).
Is it bug or new feature of PHP 8.1?
STR:
Case A (PHP 8.0.14):
Actual result: open_basedir = test
Case B (PHP 8.0.14):
Actual result: open_basedir = null
Case C (PHP 8.1.4):
Actual result: open_basedir = test
Case D (PHP 8.1.4):
Actual result: open_basedir = test, but expected NULL (like php 8.0)
PHP Version
PHP 8.1.4
Operating System
Windows Server 2019
The text was updated successfully, but these errors were encountered: