[SOLVED] script can't get at PEAR
Posted: Wed Jan 17, 2007 4:50 am
I had to build a site locally during a period of a fortnight where the company had no internet access (!) and I thought I'd use some PEAR extensions, having installed PEAR on my machine prior to Christmas.
Now we're back online I've checked that our server has the same PEAR packages, but my script won't run because it doesn't seem to want to include the PEAR files.
I've checked the include_path and it is .:/usr/share/pear, so i thought that
would work just as it did on my local machine.
Running get_included_files(); shows that the file has not been included and naturally the rest of the script fails.
What am I missing here? I've tried a preceding /, a preceeding ./ and even the full path but it doesn't include.
Now we're back online I've checked that our server has the same PEAR packages, but my script won't run because it doesn't seem to want to include the PEAR files.
I've checked the include_path and it is .:/usr/share/pear, so i thought that
Code: Select all
include_once("HTML/Template/IT.php");Running get_included_files(); shows that the file has not been included and naturally the rest of the script fails.
What am I missing here? I've tried a preceding /, a preceeding ./ and even the full path but it doesn't include.