php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #46709 When no include_path is set in php.ini, it defaults to ".;C:\php5\pear"
Submitted: 2008-11-28 14:48 UTC Modified: 2010-04-12 02:30 UTC
From: peaceable_whale at hotmail dot com Assigned: pajoye (profile)
Status: Closed Package: *General Issues
PHP Version: 5.2.7 OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: peaceable_whale at hotmail dot com
New email:
PHP Version: OS:

 

 [2008-11-28 14:48 UTC] peaceable_whale at hotmail dot com
Description:
------------
When no include_path is set in php.ini, it defaults to ".;C:\php5\pear", a path that may not exist. I think "." is enough.

This bug is intended to replace Bug #29085.

Reproduce code:
---------------
Install PHP with the Windows Installer and does not set an include_path manually. Then run phpinfo().

Expected result:
----------------
include_path should be "."

Actual result:
--------------
include_path is ".;C:\php5\pear"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-28 14:49 UTC] peaceable_whale at hotmail dot com
Correction: Corrected OS to "Windows"
 [2008-12-07 04:50 UTC] peaceable_whale at hotmail dot com
Affecting PHP 5.2.7.
 [2010-04-12 02:30 UTC] pajoye@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: pajoye
 [2010-04-12 02:30 UTC] pajoye@php.net
It is now set to .;c:\php\include which should exists when installed correctly (windows or linux)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 11:02:27 2025 UTC