ID: 29085 Comment by: justin at telepop dot net Reported By: christian at wenz dot org Status: Open Bug Type: PHP options/info functions Operating System: Windows PHP Version: 5.0.0RC3 New Comment:
This setting just caused me some problems. Somehow my php.ini had a bad path in its include_path setting. Rather than spit out an error, it assumed that c:\php4\pear was my default include directory, and gave me little information to figure out why. Once I fixed the path, my declared settings took effect and everything worked fine, but it wasn't a very intuitive leap to see why that include path was showing up. Previous Comments: ------------------------------------------------------------------------ [2004-08-06 08:54:57] christian at wenz dot org 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 :) ------------------------------------------------------------------------ [2004-08-05 23:33:44] [EMAIL PROTECTED] Well this is a matter of opinion :) Most people prefer to be able to run php4 and php5 on the same box right now. This might change in the future. Anyway setting include_path in php.ini isn't that difficult, is it :) ------------------------------------------------------------------------ [2004-07-10 13:50:01] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29085&edit=1