Re: Trouble with PHP/MYSQL/APACHE
| From: | CC Zona | Date: | Fri, 03 Aug 2001 17:15:05 +0000 |
| Subject: | Re: Trouble with PHP/MYSQL/APACHE | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11043@lists.php.net to get a copy of this message | ||
In article
<7CB9A13377EBE542BA2C8146178E8C7B02A393@bigbertha.mmhome.co.uk>,
d.watkinson@mightymatch.com (Dave Watkinson) wrote:
> > Warning: Failed opening 'themes/NukeNews/theme.php' for inclusion
> > (include path='.:/usr/share/php') in /var/www/html/header.php on line 42
> looks like your include path and/or file don't exist. Double check that
> colon before /usr - surely that's incorrect? The undefined function is
> probably because the include file can't be found.
No, the colon is correct. The include_path variable can be set to multiple
paths, delimited by colons.
$include path='.:/usr/share/php' == "first look in same directory as
script, then look in /user/share/php/" directory"
--
CC