Page 1 of 1
rotten PEAR
Posted: Tue May 27, 2003 10:31 am
by timbiotic
I cant get PEAR functions to work on my webserver. I have the latest PHP version installed. Is there something I am missing?
FetchRow()
numRows()
Are the 2 I have tested and neither work...
thanks for any ideas,
timbiotic
Posted: Tue May 27, 2003 1:36 pm
by Stoker
AFAIK PEAR is not a PHP module, it is a collection of classes/files, so you must include the apropriate file first (and it is easier if the PEAR location is in the include path).. On my Debian system the PEAR files are located in /usr/share/pear
no dice
Posted: Wed May 28, 2003 4:01 pm
by timbiotic
tried this no luck...
some PEAR functions seem to work, others dont...
Posted: Wed May 28, 2003 8:01 pm
by Stoker
uhm... where is the pear files located, what does your include path look like and what file(s) did you include?
location
Posted: Thu May 29, 2003 10:49 am
by timbiotic
They are located : C:\php\pear ... Which files do i include for FetchRow() to work?
Typical Include =
Maybe I am not including the right files...
Let me know which ones are needed for these functions to work...
Also, I am using an ADO connection, does that affect it? A friend thought that I might need to use a PEAR mdb connection...
Thanks,
timbiotic
Posted: Thu May 29, 2003 12:38 pm
by Stoker
using ../ would only hit it if your webroot is C:\php or C:\ and your access file is in directory in C:\php\pear..
First, Make sure that the includepath has C:\php\pear in it, then just include the pear files without a path.. Which one is the right one I dont recall, we have manuals for such
