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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Mon Jul 07 12:01:35 2025 UTC