Re: Error with directories
| From: | Catalin Trifu | Date: | Wed, 28 May 2003 08:07:56 +0000 |
| Subject: | Re: Error with directories | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149195@lists.php.net to get a copy of this message | ||
Hi,
It seems to me that a script from
/var/www/wahtever/ includes a script called algo.php
which can not be found by PHP, because, probably it
is in the /var/www/ dir.
Either you add /var/www/ to the php.ini include_path,
or when you include files you give the full path.
Cheers,
Catalin
"J0rd1 Adame" <jordi@jordi.net> wrote in message
news:200305271523.11539.jordi@jordi.net...
> Hi, I compiled PHP 4.2.3 like this
> ./configure --with-oracle=/home/oracle/OraHome1/
> -with-oci8=/home/oracle/OraHome1/
> --with-mysql=/usr --with-apxs
>
> I have my DocumentRoot in /var/www
> when i access php files in /var/www everything's fine, but when I access
files
> in /var/www/whatever i get this error
> Warning: Failed opening '/var/www/whatever/algo.php' for inclusion
> (include_path='.:/usr/local/lib/php') in Unknown on line 0
>
> how can i fix this?
> thanx
>
> j0rd1
>