aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-03-08 06:23:20 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-03-08 06:23:20 +0000
commit90b0ba2114c9d505235dc5bf5b9fbe71b4565dfe (patch)
tree3901f1b08ce7ad74a5ec2dbb2d949d3c077d56bf /testing/php7
parent99ee74a012a815f99324b617310b734125368acb (diff)
downloadaports-90b0ba2114c9d505235dc5bf5b9fbe71b4565dfe.tar.bz2
aports-90b0ba2114c9d505235dc5bf5b9fbe71b4565dfe.tar.xz
testing/php7: add missing changes from previous commit
Diffstat (limited to 'testing/php7')
-rw-r--r--testing/php7/APKBUILD2
-rw-r--r--testing/php7/php7-fpm.logrotate13
2 files changed, 14 insertions, 1 deletions
diff --git a/testing/php7/APKBUILD b/testing/php7/APKBUILD
index 597d1874f8..8a56b5d8d3 100644
--- a/testing/php7/APKBUILD
+++ b/testing/php7/APKBUILD
@@ -148,7 +148,7 @@ _build() {
--with-ldap=shared --with-ldap-sasl \
--enable-mbstring=shared --enable-mbregex --with-libmbfl \
--with-mcrypt=shared \
- --with-sqlite3=shared --with-pdo-sqlite=shared \
+ --with-sqlite3=shared,/usr --with-pdo-sqlite=shared,/usr \
--with-pdo-dblib=shared \
--with-mysqli=shared,/usr/bin/mysql_config \
--enable-mysqlnd=shared --with-pdo-mysql=shared,/usr/bin/mysql_config --with-mysql-sock=/run/mysqld/mysqld.sock \
diff --git a/testing/php7/php7-fpm.logrotate b/testing/php7/php7-fpm.logrotate
new file mode 100644
index 0000000000..10e53e4683
--- /dev/null
+++ b/testing/php7/php7-fpm.logrotate
@@ -0,0 +1,13 @@
+/var/log/php7/*.log {
+ rotate 7
+ daily
+ missingok
+ notifempty
+ delaycompress
+ compress
+ dateext
+ sharedscripts
+ postrotate
+ /etc/init.d/php-fpm7 --ifstarted --quiet reopen
+ endscript
+}