ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Dev
php-Dev
[PHP-DEV] Bug #13794: Unclear to PHP novice: minimum necessary config for "hello"
by other posts by this author
Oct 23 2001 5:05AM messages near this date
[PHP-DEV] Bug #13795 Updated: no special german characters returned by LDAP | Bug #13794 Updated: Unclear to PHP novice: minimum necessary config for "hello"
From:             daveaikm@[...].com
Operating system: RH Linux 7.0 / Apache / Netscape
PHP version:      4.0.6
PHP Bug Type:     Documentation problem
Bug description:  Unclear to PHP novice: minimum necessary config for "hello"

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 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:








Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved