cvs: peardoc /en/guide/users/installation checking.xml
| From: | Brett Bieber | Date: | Mon, 23 Jun 2008 14:53:10 +0000 |
| Subject: | cvs: peardoc /en/guide/users/installation checking.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10899@lists.php.net to get a copy of this message | ||
saltybeagle Mon Jun 23 14:53:10 2008 UTC
Modified files:
/peardoc/en/guide/users/installation checking.xml
Log:
Doc Bug #14195 http://news.php.net/php.pear.doc/10891
Fix typo in command, add further explanation for testing through the web browser.
http://cvs.php.net/viewvc.cgi/peardoc/en/guide/users/installation/checking.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/en/guide/users/installation/checking.xml
diff -u peardoc/en/guide/users/installation/checking.xml:1.2
peardoc/en/guide/users/installation/checking.xml:1.3
--- peardoc/en/guide/users/installation/checking.xml:1.2 Fri May 30 05:59:07 2008
+++ peardoc/en/guide/users/installation/checking.xml Mon Jun 23 14:53:10 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- do not change this ID, or you'll break thousands of link in the web -->
<sect1 id="installation.checking">
<title>Checking if PEAR works</title>
@@ -85,8 +85,11 @@
<para>
To see which <filename>php.ini</filename> is used by PHP on your
- web server, create a file with only <command>phpinfo();</command> in it
- and load it in your browser.
+ web server, create a file with only <literal><?php phpinfo();
?></literal>
+ as the contents, and save it in your local web root as
+ <filename>check_php.php</filename>. Open the file in your browser as
+ <literal>http://localhost/check_php.php</literal>,
to find the path to
+ the <filename>php.ini</filename> file your web server is using.
</para>
</listitem>
@@ -99,13 +102,15 @@
</para>
<screen><![CDATA[
-php -c /path/to/php.ini -r 'echo get_include_path(),"\n"';
+php -c /path/to/php.ini -r 'echo get_include_path()."\n";'
]]></screen>
<para>
- To check the PHP's include_path in your web server, save a file
- with only <literal>phpinfo();</literal> in it. Open it in your browser
- and verify the setting.
+ To check the PHP's include_path in your web server, create a file with
+ only <literal><?php phpinfo(); ?></literal> as the contents, and
+ save it in your local web root as <filename>check_php.php</filename>.
+ Open the file in your browser as <literal>http://localhost/check_php.php</literal>,
+ to verify the include_path your web server is using.
</para>
<para>