| @@ -1,15 +1,17 @@ | | | @@ -1,15 +1,17 @@ |
1 | =========================================================================== | | 1 | =========================================================================== |
2 | $NetBSD: MESSAGE,v 1.1.1.1 2007/05/05 21:21:45 adrianp Exp $ | | 2 | $NetBSD: MESSAGE,v 1.2 2008/08/17 18:40:36 adrianp Exp $ |
3 | | | 3 | |
4 | In order to use PEAR packages you may want to alter the default | | 4 | In order to use PEAR packages you may want to alter the default |
5 | include_path of PHP to include the PEAR installation directory where the | | 5 | include_path of PHP to include the PEAR installation directory where the |
6 | packages are located. To do this you need to edit the include_path | | 6 | packages are located. To do this you need to edit the include_path |
7 | directive in your php.ini file: | | 7 | directive in your php.ini file: |
8 | | | 8 | |
9 | ${PKG_SYSCONFDIR}/php.ini | | 9 | ${PKG_SYSCONFDIR}/php.ini |
10 | | | 10 | |
11 | Change the "include_path" directive to read as follows: | | 11 | Change the "include_path" directive to read as follows: |
12 | | | 12 | |
13 | include_path = ".:${PREFIX}/lib/php" | | 13 | include_path = ".:${PREFIX}/lib/php" |
14 | | | 14 | |
| | | 15 | This is done automatically if you are running either php>=4.4.9 or |
| | | 16 | php>=5.2.6nb2. |
15 | =========================================================================== | | 17 | =========================================================================== |