summaryrefslogtreecommitdiffstats
path: root/abs/core/php/__changelog
blob: 43aa7f635eef0194431c22216858fb0a8dd0f576 (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
PKGBUILD: package_php: add deps 'php-gd' 'php-mcrypt' since we have them in 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:
==> 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