php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50455 After installing PHP, I see "php fatal error related to include_path"
Submitted: 2009-12-11 22:48 UTC Modified: 2010-03-25 21:11 UTC
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:0 of 0 (0.0%)
From: nevasha at rocketmail dot com Assigned: jmertic (profile)
Status: Not a bug Package: Windows Installer
PHP Version: 5.3.1 OS: Windows XP Professional sp 2
Private report: No CVE-ID: None
 [2009-12-11 22:48 UTC] nevasha at rocketmail dot com
Description:
------------
I installed PHP 5.3.1 using windows installer and following the 
installation guide. After running the modified go-pear.bat (the 
modification needed was: %PHP_BIN% -d phar.require_hash=0 PEAR\go-
pear.phar) I see that php.ini has been correctly updated with:

;***** Added by go-pear
include_path=".;D:\Tools\PHP\pear"
;*****

However when I run php-win.exe I see the following error message in 
the log file:

PHP Fatal error:  Unknown: Failed opening required '-' 
(include_path='.;D:\Tools\PHP\pear') in Unknown on line 0



Actual result:
--------------
However when I run php-win.exe I see the following error message in the 
log file:

PHP Fatal error:  Unknown: Failed opening required '-' 
(include_path='.;D:\Tools\PHP\pear') in Unknown on line 0


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-11 23:53 UTC] nevasha at rocketmail dot com
I also notice with the same installation if I set to include one of the 
dynamic extensions with the following configuration:

extension_dir="D:\Tools\PHP\ext"
extension=php_bz2.dll

I see the following fatal error any time I invoked php-win.exe or 
php.exe:

CLI has encountered a problem and needs to close.  We are sorry for the 
inconvenience.

It doesn't matter which dynamic extension I include this error occurs 
every time. Yes the files that are specified in the dynamic extension do 
exist.
 [2010-03-25 18:54 UTC] jmertic@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: jmertic
 [2010-03-25 21:11 UTC] jmertic@php.net
-Status: Assigned +Status: Bogus
 [2010-03-25 21:11 UTC] jmertic@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC