Re: strange errors from command line vs. web
| From: | Ivo F.A.C. Fokkema | Date: | Fri, 29 Sep 2006 07:08:11 +0000 |
| Subject: | Re: strange errors from command line vs. web | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242385@lists.php.net to get a copy of this message | ||
On Thu, 28 Sep 2006 14:29:13 -0400, blackwater dev wrote:
> Yep, I get called to undefined function so I need to somehow re-compile the
> cli version? How do I give support to just the cli version? I'm going to
> the docs now.
>
> Thanks!
I guess it's dependent on your OS, but you might be able to just enable
this line in your php.ini file for the cli version:
extension=mysql.so
Your php.ini file may be found in
/etc/php4/cli/php.ini
That's where mine (PHP4) is, but it's dependent on your specific distro.
Are you on a "package type" of distro, such as Debian, Ubuntu, Fedora,
Suse or the like? Or are you compiling stuff like on Gentoo?
Ivo