#24114 [Fbk->Opn]: include_path option
| From: | stefano dot cecconi at staff dot aruba dot it | Date: | Tue, 10 Jun 2003 15:35:10 +0000 |
| Subject: | #24114 [Fbk->Opn]: include_path option | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41620@lists.php.net to get a copy of this message | ||
ID: 24114
User updated by: stefano dot cecconi at staff dot aruba dot it
Reported By: stefano dot cecconi at staff dot aruba dot it
-Status: Feedback
+Status: Open
Bug Type: PHP options/info functions
Operating System: windows 2000
PHP Version: 4.3.2
New Comment:
Php 4.2.3 works in a different way.
Even with the / it works.
A lot of free php scripts are written with this notation.
Now they don't work anymore.
Try to think to 200.000 domain in hosting (we are the web hosting
company) where all people working with php and includes have to change
their scripts.
It's not so easy, right?
Previous Comments:
------------------------------------------------------------------------
[2003-06-10 09:44:09] derick@php.net
Your version should never have worked... it's not a bug at all that you
need to strip that / (it will make PHP to open
c:/call_php/counter.php)...
------------------------------------------------------------------------
[2003-06-10 09:09:41] stefano dot cecconi at staff dot aruba dot it
This is my include_path option value :
include_path = ".;c:\php\includes"
Before 4.3.2 everything worked using this path in a script :
include "/call_php/counter.php"
With 4.3.2 is mandatory to remove the first / so it works only with
this path :
include "call_php/counter.php"
or
include "./call_php/counter.php"
I can't understand this change and it's creating a lot of problems for
our web hosting service, simply because there are thousands of scripts
based on the old way to use relative paths.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24114&edit=1