Re: [PHP] strange errors from command line vs. web

2006-09-29 Thread Ivo F.A.C. Fokkema
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 abl

Re: [PHP] strange errors from command line vs. web

2006-09-28 Thread blackwater dev
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! On 9/28/06, Travis Doherty <[EMAIL PROTECTED]> wrote: blackwater dev wrote: > Ok, dumb question but how do I do that? I

Re: [PHP] strange errors from command line vs. web

2006-09-28 Thread Travis Doherty
blackwater dev wrote: > Ok, dumb question but how do I do that? I know how to re-compile the > standard php. My code also uses mssql via freetds, does that somehow > need > to be enabled as it doesn't seem to fail there. > > Thanks! > >> > >> > echo "about to connect"; >> > $this->connectionID=

Re: [PHP] strange errors from command line vs. web

2006-09-28 Thread Richard Lynch
On Thu, September 28, 2006 7:26 am, blackwater dev wrote: > Ok, I've set up a username and password using Grant All Privileges, > blah. > with username and password. For some reason though the web now can't > login > with that. I then changed the root db password and put that in the > config > an

Re: [PHP] strange errors from command line vs. web

2006-09-28 Thread blackwater dev
Ok, dumb question but how do I do that? I know how to re-compile the standard php. My code also uses mssql via freetds, does that somehow need to be enabled as it doesn't seem to fail there. Thanks! On 9/28/06, Ivo F.A.C. Fokkema <[EMAIL PROTECTED]> wrote: Hi, (sorry for top-posting) This

Re: [PHP] strange errors from command line vs. web

2006-09-28 Thread Ivo F.A.C. Fokkema
Hi, (sorry for top-posting) This is the great way PHP-cli lets you know it hasn't got any MySQL support :) Enable that, and you're good to go. Mind you, PHP-cli has a separate php.ini file. Ivo On Thu, 28 Sep 2006 08:26:13 -0400, blackwater dev wrote: > Ok, I've set up a username and passwor

Re: [PHP] strange errors from command line vs. web

2006-09-28 Thread blackwater dev
Ok, I've set up a username and password using Grant All Privileges, blah. with username and password. For some reason though the web now can't login with that. I then changed the root db password and put that in the config and the web side does run properly with that username, password. I still

Re: [PHP] strange errors from command line vs. web

2006-09-27 Thread Richard Lynch
On Wed, September 27, 2006 11:36 am, blackwater dev wrote: > I have some code that makes a connection to the db. When I run this > code > from the command line, it stops at the db connection. Show us the code, without any embedded passwords, of course... > If I call the > script > from the brow

Re: [PHP] strange errors from command line vs. web

2006-09-27 Thread travis
> I have some code that makes a connection to the db. When I run this code > from the command line, it stops at the db connection. If I call the script > from the browser, it works fine. I've changed the permissions and that > didn't work. The db connection is the basic, localhost, root, with n