Puslapis 11

PHP 5.4.45 kompiliavimo rekomendacija

StandartinėParašytas: 2016-04-08 16:45:21
MKas
sudo dnf install libxml2-devel openssl-devel libcurl-devel libjpeg-turbo-devel libpng-devel freetype-devel libmcrypt-devel gcc gcc-c++

./configure --with-mysqli --enable-mysqlnd --with-curl --with-iconv --with-openssl --enable-mbstring --with-pdo-mysql --enable-ftp --with-mcrypt --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-zlib --enable-gd-native-ttf --enable-soap --enable-fpm --with-mssql --enable-sockets --enable-exif --enable-zip --with-config-file-path=/usr/local/etc/php54.ini --with-config-file-scan-dir=/usr/local/etc/php54.d/ --prefix=/usr/local/php54/

make

sudo make install

PHP 7.1

StandartinėParašytas: 2018-03-19 11:53:29
MKas
./configure --with-mysqli --enable-mysqlnd --with-curl --with-iconv --with-openssl --enable-mbstring --with-pdo-mysql --enable-ftp --with-mcrypt --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-zlib --enable-gd-native-ttf --enable-soap --enable-sockets --enable-exif --enable-zip --with-config-file-path=/usr/local/etc/php71.ini --with-config-file-scan-dir=/usr/local/etc/php71.d/ --prefix=/usr/local/php71/