Bug #8228 [NEW]: instructions are incorrect
| From: | mgillies at nps dot org dot au | Date: | Sun, 16 Jul 2006 23:31:20 +0000 |
| Subject: | Bug #8228 [NEW]: instructions are incorrect | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8153@lists.php.net to get a copy of this message | ||
From: mgillies at nps dot org dot au
Operating system: Red Hat Enterprise Linux ES3
Package version:
PHP version: 4.3.2
Package: Documentation
Bug Type: Bug
Bug description: instructions are incorrect
Description:
------------
http://pear.php.net/manual/en/faq.pearinhomedir.php
Instructions on setting the path to use a local install of PEAR are
incorrect:
<?php
$path = ini_get('include_path');
ini_set('include_path', '/home/user/pear;'.$path);
?>
The correct line (for me at least) looks like this:
ini_set('include_path', '/home/user/pear/share/pear:'.$path);
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=8228&edit=1
--