|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-07-10 13:50 UTC] christian at wenz dot org
Description: ------------ the default include_path on Windows systems is ".;c:\php5\pear". IMO that's a bad idea (TM) because most installation tutorials recommend c:\php and the PEAR installer defaults to that directory, too. Looks like a "port" of bug #21609 :-) Reproduce code: --------------- call phpinfo(), look at output for include_path Expected result: ---------------- Directive Local Value Master Value include_path .;C:\php\pear .;C:\php\pear Actual result: -------------- Directive Local Value Master Value include_path .;C:\php5\pear .;C:\php5\pear PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 02:00:01 2025 UTC |
sorry, here I completely disagree. Of course it _is_ possible to change the include_path manually or within the script, however there is a divergence between the installation section of the manual (where it says "C:\php") and this built-in behavior of PHP ("C:\php5"). Also, I know of only very few people who actually use both versions on one machine (only few now of the possibility to store php.ini in the PHP directory and not in the Windows directory; furthermore you have to use PHP as CGI). This bug appears again and again; I am getting 2-3 reader mails about this per month; and it is (IMO) just annoying. Therefore, one thing has to change IMO: either the installation recommends installing PHP into C:\php5, or the include_path is set to something that includes C:\php. Of course, the latter is preferable. So I dare to reopen this one :)