Re: PHP in a commandline shell?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message ----- From: "John Nichel" <john@xxxxxxxxxxxx>
To: "PHP General" <php-general@xxxxxxxxxxxxx>
Sent: Friday, September 23, 2005 4:34 PM
Subject: Re:  PHP in a commandline shell?


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, you had to turn it _off_. PHP versions older than 4.2.0 there was the CGI API which you could use on the command line.

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/



--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 2005-09-22


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 build 2600
     Build Date  Dec 14 2004 17:46:48
     Server API  CGI/FastCGI
     Virtual Directory Support  enabled
     Configuration File (php.ini) Path  C:\WINDOWS\php.ini
     PHP API  20020918
     PHP Extension  20020429
     Zend Extension  20021010
     Debug Build  no
     Thread Safety  enabled
     Registered PHP Streams  php, http, ftp, compress.zlib



/G
http://www.varupiraten.se/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux