r25247 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25246‎ | r25247 | r25248 >
Date:17:05, 28 August 2007
Author:tstarling
Status:old
Tags:
Comment:
* Add diversion of /etc/php5/apache2/php.ini
Modified paths:
  • /trunk/debs/wikimedia-task-appserver/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/conffiles (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/dirs (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/postrm (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/preinst (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/rules (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/php.ini (added) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-appserver/debian/dirs
@@ -1,3 +1,4 @@
22 etc
33 etc/apache2
44 usr/local/apache
 5+etc/php5/apache2/
Index: trunk/debs/wikimedia-task-appserver/debian/postrm
@@ -33,6 +33,8 @@
3434 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
3535 dpkg-divert --package wikimedia-task-appserver --remove --rename \
3636 --divert /etc/apache2/apache2.conf.default /etc/apache2/apache2.conf
 37+ dpkg-divert --package wikimedia-task-appserver --remove --rename \
 38+ --divert /etc/php5/apache2/php.ini.default /etc/php5/apache2/php.ini
3739
3840 removemount /mnt/upload3
3941 removemount /mnt/math
Index: trunk/debs/wikimedia-task-appserver/debian/preinst
@@ -19,6 +19,8 @@
2020 install|upgrade)
2121 dpkg-divert --package wikimedia-task-appserver --add --rename \
2222 --divert /etc/apache2/apache2.conf.default /etc/apache2/apache2.conf
 23+ dpkg-divert --package wikimedia-task-appserver --add --rename \
 24+ --divert /etc/php5/apache2/php.ini.default /etc/php5/apache2/php.ini
2325 ;;
2426
2527 abort-upgrade)
Index: trunk/debs/wikimedia-task-appserver/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-task-appserver (1.11) feisty; urgency=low
 3+
 4+ * Add diversion of /etc/php5/apache2/php.ini
 5+
 6+ -- Tim Starling <tstarling@wikimedia.org> Tue, 28 Aug 2007 16:56:26 +0000
 7+
28 wikimedia-task-appserver (1.10) feisty; urgency=low
39
410 * Fix control file that was accidently overwritten
Index: trunk/debs/wikimedia-task-appserver/debian/conffiles
@@ -1 +1,2 @@
22 /etc/apache2/apache2.conf
 3+/etc/php5/apache2/php.ini
Index: trunk/debs/wikimedia-task-appserver/debian/rules
@@ -49,6 +49,7 @@
5050 dh_link
5151
5252 install -m 0644 apache2.conf $(DESTDIR)/etc/apache2
 53+ install -m 0644 php.ini $(DESTDIR)/etc/php5/apache2
5354 install -m 0644 sudoers $(DESTDIR)/etc/
5455
5556 # Build architecture-independent files here.
Index: trunk/debs/wikimedia-task-appserver/php.ini
@@ -0,0 +1,27 @@
 2+; Wikimedia PHP configuration for PHP 5 Apache module in Ubuntu or FC
 3+
 4+default_socket_timeout = 1
 5+max_execution_time = 180
 6+memory_limit = 100M
 7+display_errors = Off
 8+error_log = syslog
 9+
 10+; Maximum file size (also in squid)
 11+post_max_size = 20M
 12+upload_max_filesize = 20M
 13+
 14+; Magic quotes are a tool of the devil! You know, a torture tool. That the
 15+; devil uses to torture programmers. Like me. I don't like that.
 16+magic_quotes_gpc = Off
 17+
 18+; Including both FC and Ubuntu paths here
 19+include_path = ".:/usr/local/lib/php:/usr/share/php:/usr/local/apache/common/php"
 20+
 21+; temporarily on while working on lucene config --brion 2005-04-16
 22+allow_url_fopen = On
 23+
 24+; Don't care about MySQL down too much
 25+mysql.connect_timeout = 1
 26+
 27+session.save_path = /tmp
 28+

Status & tagging log