note 129518 added to opcache.configuration
| From: | daniel@elementor.com | Date: | Tue, 21 May 2024 14:58:26 +0000 |
| Subject: | note 129518 added to opcache.configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221335@lists.php.net to get a copy of this message | ||
When opcache.use_cwd=0 include/require of relative paths from different directories will both
resolve to the same (first) file.
Example dir structure:
app1
index.php
lib.php
app2
index.php
lib.php
both index.php(s):
include "lib.php";
app1/lib.php:
echo "app1";
app2/lib.php:
echo "app2";
both will echo "app1".
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.131 (proxied: 188.191.231.114)
----
Manual Page -- https://php.net/manual/en/opcache.configuration.php
Edit -- https://main.php.net/note/edit/129518
Del: integrated -- https://main.php.net/note/delete/129518/integrated
Del: useless -- https://main.php.net/note/delete/129518/useless
Del: bad code -- https://main.php.net/note/delete/129518/bad+code
Del: spam -- https://main.php.net/note/delete/129518/spam
Del: non-english -- https://main.php.net/note/delete/129518/non-english
Del: in docs -- https://main.php.net/note/delete/129518/in+docs
Del: other reasons-- https://main.php.net/note/delete/129518
Reject -- https://main.php.net/note/reject/129518
Search -- https://main.php.net/manage/user-notes.php