#!/bin/sh
phpversion="5.2.6"
mainver="5"
log=config.my.log
apxs=/usr/sbin/apxs
echo 'Provadim "make clean"'
make clean > /dev/null
echo 'Konfiguruji PHP ....'
'./configure' \
'--prefix=/usr/local/app/php/'$phpversion \
'--with-config-file-path=/etc/php'$mainver \
'--with-config-file-scan-dir=/etc/php'$mainver'/conf.d' \
'--with-apxs2='$apxs \
'--with-curl' \
'--with-dom' \
'--with-freetype-dir' \
'--with-gd' \
'--with-gettext' \
'--with-iconv' \
'--with-jpeg-dir' \
'--with-ldap' \
'--with-mcrypt' \
'--with-mysql=/usr' \
'--with-png-dir' \
'--with-pear' \
'--with-regex=php' \
'--with-snmp' \
'--with-ssl' \
'--with-zlib' \
'--enable-sockets' \
'--enable-ftp' \
'--enable-mbstring' \
'--enable-dbase' \
'--enable-memory-limit' \
'--enable-exif'