summaryrefslogtreecommitdiffstats
path: root/abs/core/php/__changelog
blob: 69c2edd863c98059c29607ecc553cbb4b5810593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PKGBUILD: package_php: add deps 'php-gd' 'php-mcrypt' since we have them in php.ini
PKGBUILD: package_php: comment out backup=('etc/php/php.ini')

php.ini.patch: short_open_tags = On
php.ini.patch: open_basedir  commented out
php.ini.patch: error_log = syslog  uncommented
php.ini.patch: max_input_vars = 3000  uncomment and change to 3000
php.ini.patch:
==> check and make sure these are uncommented:
    ==> "extension=ftp.so"
    ==> "extension=gd.so"
    ==> "extension=gettext.so"
    ==> "extension=mcrypt.so"
    ==> "extension=mysqli.so"
    ==> "extension=mysql.so"
    ==> "extension=openssl.so"
    ==> "extension=sockets.so"
    ==> "extension=zip.so"


PKGBUILD: add php.install:
post_upgrade & post_install
if [ -f /etc/systemconfig ]
then
    . /etc/systemconfig
    if [ -f /etc/php/php.ini ]
    then
        sed -i 's|^.*date.timezone.*$|date.timezone='${timezone}'|' /etc/php/php.ini
    fi
fi