ID:               21649
 Comment by:       manny dot ovena at dev dot com
 Reported By:      lipinski7722 at rogers dot com
 Status:           No Feedback
 Bug Type:         Filesystem function related
 Operating System: win2000 server
 PHP Version:      4.3.0
 New Comment:

In order to change the include_path in pear you must reinstall pear
after you have made the changes to the php.ini file.  Install PHP,
change PHP.ini, and then use go-pear.bat.


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

[2003-02-25 02:05:13] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



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

[2003-02-19 19:25:39] [EMAIL PROTECTED]

Using this script:

<?php
error_reporting(E_ALL);
ini_set('include_path','.;c:\\');
$fp=fopen('autoexec.bat','r', 1);
echo ini_get('include_path');
?>

I can't reproduce this (with PHP 4.3.2-dev) under Windows 2000. Please
try it out.


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

[2003-01-18 11:52:39] lipinski7722 at rogers dot com

User is administrator this is on localhost
where PHP4 is configured as Apache 1.3 module
What else I have to do in hppdcon for apache ?????

Best Regards
W.J.Lipinski

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

[2003-01-17 21:15:33] [EMAIL PROTECTED]

Are you sure the webserver user has rights to access that path even?


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

[2003-01-16 14:33:36] lipinski7722 at rogers dot com

Hi 

I just try your solution.It doesn't work.
This is my path from <?php phpinfo();?>       

include_path c:\php4\pear;c:\ c:\php4\pear;c:\ 
Could You SEE IT!!!!!!!!!!!!!

This is a code I'm tring to run 
<?php
ini_set('include_path', 'c:\php4\pear;c:\\');
echo ini_get('include_path'), '<br />';

if(!$fp = fopen("authenticate.txt","r",1))
{ die("<P>could not open password file"); }
//$fp = fopen('C:\php4\pear\authenticate.txt','r',1);
$auth_file = fread ($fp, filesize($fp));
fclose($fp);

This is an error I'm getting

c:\php4\pear;c:\

Warning: fopen(authenticate.txt) [function.fopen]: failed to create
stream: No such file or directory in c:\program files\apache
group\apache\htdocs\authfile.php on line 5

could not open password file

Best Regards
W.J.Lipinski

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21649

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

Reply via email to