Doc #14195 [NEW]: need to newbie proof the documentation :-)

From: Date: Thu, 19 Jun 2008 18:14:13 +0000
Subject: Doc #14195 [NEW]: need to newbie proof the documentation :-)
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10891@lists.php.net to get a copy of this message
From: #d5bdc741a4eef915697 Operating system: Ububtu Linux 8.04 Package version: PHP version: 5.2.6 Package: Documentation Bug Type: Documentation Problem Bug description: need to newbie proof the documentation :-) Description: ------------ Hi Not being a php programmer, I had a little trouble with your page http://pear.php.net/bugs/report.php?package=Documentation This line fails with syntax errors: p$ php -c /path/to/php.ini -r 'echo get_include_path(),"\n"'; Parse error: syntax error, unexpected $end, expecting ',' or ';' in Command line code on line 1 ============= snip ===== When it says "create a file with only phpinfo(); in it and load it in your browser. " It does NOT mean that what it means is create a file with only <?php phpinfo();?> in it. and then load the file as a web page. so it appears as http://localhost/php/check_file.php. This was made worse by the fact that a little further down you gave the full syntax for the "require_once 'System.php';". IMHO it would be better to show the phpinfo test the same way you show the one for the require-once thnigy. :-) AND say something like put the test files in /var/www or whereever your root for apache is. and then load thenm with "http://localhost/check_php.php" You could also should the expected output :-) Kinda give us newbies a clue what to expect :-) Ta!! I'll go back to trying these test out now. *wave* -- Edit bug report at http://pear.php.net/bugs/bug.php?id=14195&edit=1 --

« previous php.pear.doc (#10891) next »