[PHP-DEV] Bug #13794 Updated: Unclear to PHP novice: minimum necessary config for "hello"
by other posts by this author
Oct 23 2001 5:30AM messages near this date
[PHP-DEV] Bug #13794 Updated: Unclear to PHP novice: minimum necessary config for "hello"
|
[PHP-DEV] Don't throw out your empty inkjet cartridges. Now you can help.
ID: 13794
User updated by: daveaikm@[...].com
Reported By: daveaikm@[...].com
Status: Open
Bug Type: Documentation problem
Operating System: RH Linux 7.0 / Apache / Netscape
PHP Version: 4.0.6
New Comment:
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" f
ile reference.
Previous Comments:
------------------------------------------------------------------------
[2001-10-23 01:05:50] daveaikm@[...].com
Situation: old, used programmer just learning Linux PHP by himself. Took several hours to fi
gure
out simplest possible example execution. Main confusion: what example file / content goes w
here,
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 dire
ctions
on where PHP content could appear (so at first associated "Hello World" attempts with brows
er 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 ge
tting
testfile extensions to match Apache definitions (the <?php tags inside a file are apparentl
y not
enough to get Apache to trigger PHP.)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13794&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@[...].net
For additional commands, e-mail: php-dev-help@[...].net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
Thread:
|