summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy Marquis <remy.marquis@gmail.com>2018-01-06 14:27:53 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2018-01-26 20:17:04 +0100
commit34a0d399103a3b866995e54f03ac75740fdd26a0 (patch)
tree04d1cae81c9787afcc4fa7bc2715519ea020947a
parente5b43760c275130623ff4fda5a96f628cf17156e (diff)
downloadaur-34a0d399103a3b866995e54f03ac75740fdd26a0.tar.gz
aur-34a0d399103a3b866995e54f03ac75740fdd26a0.tar.xz
Document required PHP extensions in php.ini
To people unfamiliar with the code, it is not obvious that the pdo_* PHP extensions must be enabled. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--INSTALL2
-rw-r--r--TESTING2
2 files changed, 4 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index ba24a450..7fcf7246 100644
--- a/INSTALL
+++ b/INSTALL
@@ -38,6 +38,8 @@ read the instructions below.
}
}
+ Ensure to enable the pdo_mysql extension in php.ini.
+
3) Copy conf/config.proto to /etc/aurweb/config and adjust the configuration
(pay attention to disable_http_login, enable_maintenance and aur_location).
diff --git a/TESTING b/TESTING
index d2c97d9d..e45f35f7 100644
--- a/TESTING
+++ b/TESTING
@@ -13,6 +13,8 @@ INSTALL.
# pacman -S php php-sqlite sqlite
+ Ensure to enable the pdo_sqlite extension in php.ini.
+
3) Prepare the testing database:
$ cd /path/to/aurweb/schema