[arch-commits] Commit in php/trunk (php.install)
Pierre Schmitz
pierre at archlinux.org
Mon Sep 1 15:16:30 UTC 2008
Date: Monday, September 1, 2008 @ 11:16:26
Author: pierre
Revision: 11576
removed install messages
Modified:
php/trunk/php.install
-------------+
php.install | 55 -------------------------------------------------------
1 file changed, 55 deletions(-)
Modified: php.install
===================================================================
--- php.install 2008-09-01 14:12:06 UTC (rev 11575)
+++ php.install 2008-09-01 15:16:26 UTC (rev 11576)
@@ -1,46 +1,3 @@
-post_install() {
- echo '
- ==> PHP modules
-
- PHP has been built with optional modules. To enable these modules,
- uncomment the modules from php.ini
-
- Some of them require extra packages to be installed:
-
- * bz2 : bzip2
- * curl : curl
- * dba : gdbm
- * gd : libpng, libjpeg, freetype2
- * imap : pam
- * ldap : libldap
- * mcrypt : mcrypt, libtool
- * mysql/mysqli : libmysqlclient
- * odbc/pdo_odbc : unixodbc
- * openssl : openssl
- * pgsql/pdo_pgsql : postgresql-libs
- * pspell : aspell
- * snmp : net-snmp
- * sqlite : sqlite3
- * tidy : tidyhtml
- * xsl : libxslt
-
- ==> PHP-CGI and FCGI
-
- There are several cgi relevant settings in your php.ini. Make sure to
- adjust them according to your needs. At least you should activate the
- cgi.fix_pathinfo directive in php.ini by uncommenting it.
-
- ==> PHP and Apache HTTPD
-
- To use mod_php with the Apache webserver, add this to your httpd.conf:
-
- LoadModule php5_module modules/libphp5.so
- [..]
- Include conf/extra/php5_module.conf
-
- '
-}
-
pre_upgrade() {
# we moved php.ini from /etc/ to /etc/php
# lets save the old file before pacman deletes it.
@@ -52,14 +9,6 @@
}
post_upgrade() {
- post_install
- echo '
- ==> Review your php.ini
-
- Your php installation has been updated. You should review your current
- php.ini and check any upstream changes according to the default
- configuration which can be found at php.ini.pacnew.
- '
# if we upgraded from an installation with old config layout, move the old
# php.ini to the right place and inform the user about the changes.
# can be removed later
@@ -91,7 +40,3 @@
sed -i -e 's#extension_dir = "/usr/lib/php/extensions/"#extension_dir = "/usr/lib/php/20060613/"#g' /etc/php/php.ini
fi
}
-
-op=$1
-shift
-[ "$(type -t "$op")" = "function" ] && $op "$@"
\ No newline at end of file
More information about the arch-commits
mailing list