Re: Pear problem in Debian stable
| From: | Alan Knowles | Date: | Wed, 14 May 2003 13:43:56 +0000 |
| Subject: | Re: Pear problem in Debian stable | ||
| References: | 1 | Groups: | php.pear.general php.pear.general |
| Request: | Send a blank email to pear-general+get-5366@lists.php.net to get a copy of this message | ||
PHP 4.3 etc. is increadibly easy to build on debian (I dont bother with debian source packages, as they are always 9months + out of date - although I do appreciated the hard work the packager puts in) it's really just worth downloading the source and making with the same compile options as in phpinfo on the prebuilt package.
4.2 was
Regards
Alan
Jeff Self wrote:
On my desktop, running Debian unstable, my development website is running correctly using PHP 4 and Pear. The version of PHP on this box is 4.2.3. I copied my php app over to my production site which is running PHP 4.1.2. Tried to bring up a page and I get the following error message: Fatal error: Call to undefined function: query() in /var/www/login.php on line 62. So I backed up the /usr/share/pear directory and copied the /usr/share/pear directory from my development box. But I'm still getting the same error message. I made sure that /usr/share/pear is in my php.ini file and my login.php file has include ("DB.php") in it. Here's the line that results in the error: $query = "select f_name, login_name, password from employee where login_name = '$userid' and password = '$password'"; $result = $dbh->query($query);