|
Posted by Lateralus on 09/09/05 22:11
> Command line
>
> To repeat what I said above -
> although in my view it is perfectly clear -
> I am pointing out that you can run php without access to a web-server,
> and that this might have been pointed out.
>
This was pointed out. There is, in fact, an entire chapter dedicated to
running PHP from the command line (Chapter 43,
php.net/features.commandline). Almost everything you want is there, if
you take the time to look.
On the subject of the environment in which someone will be using PHP
(from server or cli)... this isn't our department. We cannot tell you
where you will use PHP, you should already know.
If you're learning PHP for use with CLI, you already know what CLI is,
and don't need any help using the PHP CLI interpreter. If you do,
that's what man pages are for. php --help, man php, you should know the
drill.
If you're learning PHP for use with a web server, you should already
have some knowledge of what server software is and how to use it, and
if you don't, you should have come across php.net/install.general and
thought to yourself "Webserver? What's a webserver? I guess it's time I
found out." Then you would have saw the mention of "Apache on Linux and
MacOS X; IIS on Windows" and said either "Hey, I'm using Linux(or MacOS
X) I better go look up Apache" or "Hey, I'm using Windows I better go
look up IIS."
It isn't our job to teach you everything, only to teach you PHP. If you
don't know how to use/install a webserver: Hit the manual of the web
server of your choice. That's their job, and they do it well.
Navigation:
[Reply to this message]
|