#13794 [NoF->Csd]: Unclear to PHP novice: minimum necessary config for "hello"
| From: | philip@php.net | Date: | Fri, 31 Jan 2003 19:26:38 +0000 |
| Subject: | #13794 [NoF->Csd]: Unclear to PHP novice: minimum necessary config for "hello" | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969351444@lists.php.net to get a copy of this message | ||
ID: 13794
Updated by: philip@php.net
Reported By: daveaikm@ix.netcom.com
-Status: No Feedback
+Status: Closed
Bug Type: Documentation problem
Operating System: RH Linux 7.0 / Apache / Netscape
PHP Version: 4.0.6
New Comment:
I closed this awhile ago and included details on how to setup PHP
locally.
Previous Comments:
------------------------------------------------------------------------
[2002-03-10 00:00:01] php-bugs@lists.php.net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-02-07 05:31:36] goba@php.net
IMHO, the submitter is talking about
http://php.net/tut.php [which is IMHO soon
to be integrated to the manual].
--
Goba
------------------------------------------------------------------------
[2002-02-06 12:26:25] alindeman@php.net
Which page is this? I'm looking for a URL here....
------------------------------------------------------------------------
[2001-10-23 01:30:26] daveaikm@ix.netcom.com
Suggested change to introductory tutorial:
Section is "Your first PHP-enabled page"
Currently:
Create a file named hello.php and in it ...
Suggested update:
Create a file named "hello.php" in your server web directory and in it
...
================================
Currently:
This program is extremely simple ...
Suggested update: add following sentence, preceding current.
Use your browser to access the file with your web access URL, ending
with the "/hello.php" file reference.
------------------------------------------------------------------------
[2001-10-23 01:05:50] daveaikm@ix.netcom.com
Situation: old, used programmer just learning Linux PHP by himself.
Took several hours to figure
out simplest possible example execution. Main confusion: what example
file / content goes where,
then how to access testfile, then defining and matching several Apache
file extensions (PHP,
PHP3, PHP4).
Have two PHP books, your tutorial, your manual, and your examples.
Never found explicit directions
on where PHP content could appear (so at first associated "Hello
World" attempts with browser side
HTML.) (What I was trying was browser "open page" to access local PHP
testfile.)
Your tutorial does say "server web directory", but not clearly enough
(to a PHP novice) that this is the
only place (for "Hello World".) (with access through a browser URL
reference)
The last few hours were spent learning a little about Apache's AddType
and LoadType, then getting
testfile extensions to match Apache definitions (the <?php tags inside
a file are apparently not
enough to get Apache to trigger PHP.)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=13794&edit=1