RE: [PHP] PHP from the command line

2005-11-04 Thread bruce
to fix. -bruce -Original Message- From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 11:30 PM To: [EMAIL PROTECTED] Cc: 'Robbert van Andel'; 'David Tulloh'; php-general@lists.php.net Subject: RE: [PHP] PHP from the command line

RE: [PHP] PHP from the command line

2005-11-03 Thread Jasper Bryant-Greene
tween the output of phpinfo() in CLI mode and through your webserver. Jasper > -Original Message- > From: Robbert van Andel [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 03, 2005 8:37 PM > To: [EMAIL PROTECTED]; 'David Tulloh' > Cc: php-general@lists.php.net &g

RE: [PHP] PHP from the command line

2005-11-03 Thread bruce
cause I am able to connect using the exact same script from the command line. -Original Message- From: bruce [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 7:28 PM To: 'David Tulloh'; 'Robbert van Andel' Cc: php-general@lists.php.net Subject: RE: [PHP] PHP from t

RE: [PHP] PHP from the command line

2005-11-03 Thread Robbert van Andel
ing the exact same script from the command line. -Original Message- From: bruce [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 7:28 PM To: 'David Tulloh'; 'Robbert van Andel' Cc: php-general@lists.php.net Subject: RE: [PHP] PHP from the command line what&

RE: [PHP] PHP from the command line

2005-11-03 Thread bruce
ue... also, is there a user/passwd setup to access the mssql db? -bruce -Original Message- From: David Tulloh [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 6:22 PM To: Robbert van Andel Cc: php-general@lists.php.net Subject: Re: [PHP] PHP from the command line Many linu

Re: [PHP] PHP from the command line

2005-11-03 Thread David Tulloh
Many linux distributions use a different php config file for the apache and cli versions. Using two different configurations might explain the problems you are seeing. David Robbert van Andel wrote: I run a linux webserver with Apache and PHP5. Does anyone out there know why a php script wo

Re: Re: [PHP] PHP from the command line

2005-11-03 Thread php
"apache user" doesn't have > access to the db (but "you" do) it will fail. > > > > > > Original Message > > Date: Thursday, November 03, 2005 06:59:30 AM -0800 > > From: Robbert van Andel > > To: php-g

[PHP] PHP from the command line

2005-11-03 Thread Robbert van Andel
I run a linux webserver with Apache and PHP5. Does anyone out there know why a php script would work from the command line but fail when running it through a web browser? In particular, I'm trying to get a connection to an MSSQL server but PHP fails to connect when I run the script with a web bro

Re: [PHP] php from the command line

2001-09-25 Thread Nathan Cook
> Simply put > > /usr/local/bin/php -q to the top of your script ... > i've written one a while ago an email roboter ... it works on command line But you realize you have to have command line php compiled first, right? Nathan Cook [EMAIL PROTECTED] -- PHP General Mailing List (http://www.ph

Re: [PHP] php from the command line

2001-09-25 Thread Attila Strauss
Hi Simply put /usr/local/bin/php -q to the top of your script ... i've written one a while ago an email roboter ... it works on command line maybe u wanna check it out : http://linuks.net/robot.phps best regards attila strauss > > > Hi! > I was wondering how you could run php from the command

Re: [PHP] php from the command line

2001-09-25 Thread Nathan Cook
n/php ... Then just run your executable file like you would any other. Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Jimmy Bäckström" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 10:21 AM Subject: [PHP] php from the command line

[PHP] php from the command line

2001-09-25 Thread Jimmy Bäckström
Hi! I was wondering how you could run php from the command line, and how it works! Just out of curiosity =) Thanks /Broder