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
Sorry, I failed to mention that I ran the command line script as the apache user. Robbert [EMAIL PROTECTED] wrote on 11/03/2005, 04:25:40 PM: > the most obvious is db permissions -- but you should be able to get php > to report a decent error so you know more precisely what the issue is. > > fo

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
It might be a good idea to check the list archives. http://marc.theaimsgroup.com/?l=php-general But since I am feeling nice today (assuming you want to do it on *nix). Then download and un-pack the source and run: # ./configure [... additional options here like MySQL etc...(make sure you don't p