This commit is contained in:
parent
2832152d94
commit
d06648ff47
|
|
@ -6,10 +6,10 @@
|
|||
<section name="global_options">
|
||||
|
||||
Pid file
|
||||
<value name="pid_file">/www/server/php/52/logs/php-fpm.pid</value>
|
||||
<value name="pid_file">/www/server/php/52/var/logs/php-fpm.pid</value>
|
||||
|
||||
Error log file
|
||||
<value name="error_log">/www/server/php/52/logs/php-fpm.log</value>
|
||||
<value name="error_log">/www/server/php/52/var/logs/php-fpm.log</value>
|
||||
|
||||
Log level
|
||||
<value name="log_level">notice</value>
|
||||
|
|
|
|||
|
|
@ -35,19 +35,21 @@ Install_lib()
|
|||
return
|
||||
fi
|
||||
|
||||
|
||||
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash icu.sh
|
||||
|
||||
if [ ! -f "$extFile" ];then
|
||||
|
||||
php_lib=$sourcePath/php_lib
|
||||
mkdir -p $php_lib
|
||||
|
||||
|
||||
wget -O $php_lib/${LIBNAME}-${LIBV}.tgz http://pecl.php.net/get/${LIBNAME}-${LIBV}.tgz
|
||||
|
||||
cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz
|
||||
cd ${LIBNAME}-${LIBV}
|
||||
$serverPath/php/$version/bin/phpize
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config
|
||||
make && make install && make clean
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config \
|
||||
--with-icu-dir=${serverPath}/lib/icu
|
||||
make clean && make && make install && make clean
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -289,7 +289,8 @@ elif [ "$OSNAME" == "ubuntu" ] || [ "$OSNAME" == "debian" ]; then
|
|||
|
||||
apt install -y libmemcached-dev
|
||||
apt install -y libsasl2-dev
|
||||
apt install -y imagemagick libmagickwand-dev
|
||||
apt install -y imagemagick
|
||||
apt install -y libmagickwand-dev
|
||||
|
||||
apt install -y libxml2 libxml2-dev libbz2-dev libmcrypt-dev libpspell-dev librecode-dev
|
||||
apt install -y libgmp-dev libgmp3-dev libreadline-dev libxpm-dev
|
||||
|
|
|
|||
Loading…
Reference in New Issue