RE: include_path problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well yes I have restarted my webserver, and the php.ini file is under the
"windows directory" (shown in phpinfo page) and I am definatelty editing it.

The current value for my include_path is ".;c:\php\includes" which is
different to whats showing up on the phpinfo page and also the error that is
coming up.

The wierd thing is I can change anything else in the php.ini file and it
updates on the phpinfo page. Just not the include_path attributes. Its as if
I am not changing the correct service as there is nothing in the php.ini
file that relates to the directory ".;c:\php4\pear".

I am running xppro, IIS, php 4.3.2

Any other ideas??

Cheers Bruce


-----Original Message-----
From: Ford, Mike [LSS] [mailto:M.Ford@lmu.ac.uk]
Sent: Tuesday, September 02, 2003 7:10 PM
To: 'Bruce Levick'; php-db@lists.php.net
Subject: RE:  include_path problem


On 02 September 2003 08:00, Bruce Levick wrote:

> Hi guys,
> I am re-developing the look and feel of a site and trying to set it up
> localy. Its all setup and ready to go but I am getting a
> pear.php include
> failure.
>
> Warning: main(/PEAR.php): failed to open stream: No such file
> or directory
> in G:\Inetpub\wwwroot\DB.php on line 25
>
> Fatal error: main(): Failed opening required '/PEAR.php'
> (include_path='.;c:\php4\pear') in G:\Inetpub\wwwroot\DB.php
> on line 25
>
>
> The include path "c:\php4\pear" is incorrect. This is showing up in my
> phpinfo file and I can't seem to get it to change in my
> php.ini file. There
> are include_path options in the php.ini file but nothing like
> the directory
> path in the error I am receiving.

OK; '.;c:\php4\pear' is the default value for include_path, so PHP is not
seeing your edited php.ini.  Let's try a couple of basic questions (forgive
me if these are obvious to you, but you haven't covered them in your
message):

1) Did you restart your Web server after editing php.ini?

2) Where does the phpinfo() output say your php.ini file should be (look at
the "Configuration File (php.ini) Path" entry right near the top)?  And is
your php.ini there?

If the answer to both of these is yes, and you're still having problems, get
back to the list with some more detail and maybe someone will have some
other bright ides.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux