ID:               15687
 Updated by:       [EMAIL PROTECTED]
-Summary:          include_path at installation misses '.'
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         PHP options/info functions
 Operating System: windows
 PHP Version:      4.1.1
 New Comment:

Anyway, this is no bug with PHP.

The default is to NOT set the include path in any INI file, which then
defaults to

  ".:<your-php-install-dir>/lib/php" on Unix systems

and

  "c:\\php4\\pear" on windows systems

Please not that the latter does not require the current path because,
well yeah, that's the way it works under windows as we all know.

Just a personal advice: without talking to your users and getting on
track where they got their PHP from you have to be a wizard to solve
it.

If you're application only depends on 'itself', it may be an option for
you to manually set the include_path (if not forbidden by
configuration).


Previous Comments:
------------------------------------------------------------------------

[2002-02-23 09:17:12] [EMAIL PROTECTED]

hi,
i'm trying to support people newly installing the postnuke system (lots
of PHP files including each other), and since about the middle january
i see several people that just installed  some PHP package with an
include path that is empty or contains '..' in stead of '.' .

This way the relative include('file.php') fails, of course.

Unfortunately these people are so 'newbie' that they cannot even reply
where they got PHP from. Either here, in a package or in a linux
distribution?? Sorry a about that, i realise it does not help much.
One of them had windows... the others didn't tell...

Chris



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15687&edit=1

Reply via email to