Reorganise web/README.txt and elaborate on PEAR and File_Find.

Add PEAR path to web/html/.htaccess.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang 2008-06-16 21:17:26 -04:00
parent dc5b3d674e
commit 44dbb49ae9
2 changed files with 19 additions and 8 deletions

View file

@ -27,21 +27,32 @@ Setup on Arch Linux:
</Directory> </Directory>
</VirtualHost> </VirtualHost>
4) Configure PHP 4) Clone the AUR project (using the MYUSER from above)
Make sure you have mysql and json enabled in PHP and $ cd
PEAR is properly configured with the File_Find package $ git clone http://projects.archlinux.org/git/aur.git
(http://pear.php.net/package/File_Find) installed
5) Configure PHP
Make sure you have mysql and json enabled in PHP.
- Edit php.ini and uncomment/add these lines: - Edit php.ini and uncomment/add these lines:
extension=mysql.so extension=mysql.so
extension=json.so extension=json.so
AUR requires PEAR and the File_Find module.
Installing PEAR will vary depending on the system and may already
be included with PHP. You can also find it in the PHP source distribution.
PHP sources: http://www.php.net/downloads.php
File_Find PEAR module: http://pear.php.net/package/File_Find
- Install the File_Find PEAR package: - Install the File_Find PEAR package:
# pear install File_Find # pear install File_Find
5) Clone the AUR project (using the MYUSER from above) - Put PEAR in your php include_path in web/html/.htaccess:
$ cd
$ git clone http://projects.archlinux.org/git/aur.git php value include_path = ".:../lib:../lang:/usr/share/pear"
PEAR's path may vary depending on your set up.
6) Configure MySQL 6) Configure MySQL
- Connect to the mysql client - Connect to the mysql client

View file

@ -1,2 +1,2 @@
php_value short_open_tag Off php_value short_open_tag Off
php_value include_path ".:../lib:../lang" php_value include_path ".:../lib:../lang:/usr/share/pear"