[PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
Hi there! As I understand you MUST? recompile PHP for use with only commandlineshell instead of for example Apache (or any other webserver) Is that true? Or is there any alternative if you only want to use PHP in shell-mode for testing... /G http://www.varupiraten.se/ -- PHP General

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread John Nichel
Gustav Wiberg wrote: Hi there! As I understand you MUST? recompile PHP for use with only commandlineshell instead of for example Apache (or any other webserver) Depends on your version of php, and how it was installed. PHP versions 4.2.x you had to turn it _on_ when configuring. 4.3.x,

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread Jake Gardner
That depends on several things, chief among which are: What version did you install? What options did you supply ./configure? **Did you delete your old install?** The reason for that is because the difference between the CLI and CGI versions of PHP is the binary

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
- Original Message - From: Jake Gardner [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Friday, September 23, 2005 4:36 PM Subject: Re: [PHP] PHP in a commandline shell? That depends on several things, chief among which

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
- Original Message - From: John Nichel [EMAIL PROTECTED] To: PHP General php-general@lists.php.net Sent: Friday, September 23, 2005 4:34 PM Subject: Re: [PHP] PHP in a commandline shell? Gustav Wiberg wrote: Hi there! As I understand you MUST? recompile PHP for use with only

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread John Nichel
Gustav Wiberg wrote: - Original Message - From: John Nichel [EMAIL PROTECTED] To: PHP General php-general@lists.php.net Sent: Friday, September 23, 2005 4:34 PM Subject: Re: [PHP] PHP in a commandline shell? Gustav Wiberg wrote: Hi there! As I understand you MUST? recompile PHP

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
- Original Message - From: John Nichel [EMAIL PROTECTED] To: PHP General php-general@lists.php.net Sent: Friday, September 23, 2005 4:34 PM Subject: Re: [PHP] PHP in a commandline shell? Gustav Wiberg wrote: Hi there! As I understand you MUST? recompile PHP for use with only

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread John Nichel
Gustav Wiberg wrote: snip With PHPinfo() I get this result on my local testserver which has Windows XP running Apache Can I then use Shell? What command do I use for waiting for user input? Totally novice in this area of PHP... PHP Version 4.3.10 System Windows NT BLACKSHADOW 5.1

Re: [PHP] PHP in a commandline shell?

2005-09-23 Thread Gustav Wiberg
- Original Message - From: John Nichel [EMAIL PROTECTED] To: PHP General php-general@lists.php.net Sent: Friday, September 23, 2005 8:35 PM Subject: Re: [PHP] PHP in a commandline shell? Gustav Wiberg wrote: snip With PHPinfo() I get this result on my local testserver which has