diff options
author | Loui Chang <louipc.ist@gmail.com> | 2008-06-17 03:17:26 +0200 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2008-06-17 03:20:14 +0200 |
commit | 44dbb49ae9d5ef475a43c477aec009577a04169c (patch) | |
tree | 000d059579ead077119b8dd337375ef488c8edc2 /web | |
parent | dc5b3d674e45e326d6b64205dd3dab43db570278 (diff) | |
download | aur-44dbb49ae9d5ef475a43c477aec009577a04169c.tar.gz aur-44dbb49ae9d5ef475a43c477aec009577a04169c.tar.xz |
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>
Diffstat (limited to 'web')
-rw-r--r-- | web/README.txt | 25 | ||||
-rw-r--r-- | web/html/.htaccess | 2 |
2 files changed, 19 insertions, 8 deletions
diff --git a/web/README.txt b/web/README.txt index 06fc246d..69bec044 100644 --- a/web/README.txt +++ b/web/README.txt @@ -27,21 +27,32 @@ Setup on Arch Linux: </Directory> </VirtualHost> -4) Configure PHP - Make sure you have mysql and json enabled in PHP and - PEAR is properly configured with the File_Find package - (http://pear.php.net/package/File_Find) installed +4) Clone the AUR project (using the MYUSER from above) + $ cd + $ git clone http://projects.archlinux.org/git/aur.git + +5) Configure PHP + Make sure you have mysql and json enabled in PHP. - Edit php.ini and uncomment/add these lines: extension=mysql.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: # pear install File_Find -5) Clone the AUR project (using the MYUSER from above) - $ cd - $ git clone http://projects.archlinux.org/git/aur.git + - Put PEAR in your php include_path in web/html/.htaccess: + + php value include_path = ".:../lib:../lang:/usr/share/pear" + + PEAR's path may vary depending on your set up. 6) Configure MySQL - Connect to the mysql client diff --git a/web/html/.htaccess b/web/html/.htaccess index d4cd0121..50d5c12c 100644 --- a/web/html/.htaccess +++ b/web/html/.htaccess @@ -1,2 +1,2 @@ php_value short_open_tag Off -php_value include_path ".:../lib:../lang" +php_value include_path ".:../lib:../lang:/usr/share/pear" |