Re: Need PHP on Win2000 Pro

From: Date: Sun, 13 Jul 2003 15:07:34 +0000
Subject: Re: Need PHP on Win2000 Pro
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-155005@lists.php.net to get a copy of this message
When I make console scripts for *nix in PHP I have the shebang line and after that <?php #!/usr/bin/php -q <?php ... ?> Is PHP as powerful as perl on the console area yet? //Simon John A. Thomason wrote:
Thanks for your help. Also, I checked out your tutorial and Apache and PHP. I have Apache installed, and I am using it for backend work. I have been using Perl, but have discovered PHP, and want to be able to use it on the command line. Another email told me the solution.
Replace the shebang line with <?PHP         and end the script with    ?>
And that is how simple the fix was, and now I am going to rewrite all of my batch files and perl scripts using PHP. I do need a little more understanding of Apache and will be studying your Apache tutorial. Thanks again. John A. Thomason johnt@divector.com ----- Original Message ----- From: "Burhan Khalid" <phplist@meidomus.com> To: "John A. Thomason" <johnt@divector.com>; <php-general@lists.php.net> Sent: Sunday, July 13, 2003 8:08 AM Subject: Re: [PHP] Need PHP on Win2000 Pro
On Saturday, July 12, 2003, 10:31:14 PM, John wrote: JAT> Hello, JAT> I need some advice on getting PHP 4 up and running on my Windows 2000 JAT> Professional. I have followed all of the instructions in the
installation
JAT> file, but when I try to run a PHP as a batch from the command prompt,
all I
JAT> get is the file listed. Help! You need a web server in order to run the scripts (unless you are strictly doing it command line). I have a tutorial that shows you how to setup Apache with PHP on Windows (its not OS specific, but it can be applied to any Windows version). Here is the link <http://www.meidomus.com/archives/000059.php> Please read the use comments, and if you have any questions, you can email me off-list :) -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com


« previous php.general (#155005) next »