Commit 3dd10c32 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated php to 7.4.7

parent 749af991
all: httpd-conf php-fpm-service all: httpd-conf php-fpm-service
tar xf php-7.3.6.tar.xz tar xf php-7.4.7.tar.xz
cd php-7.3.6 && ./configure --prefix=/usr --sysconfdir=/etc --with-config-file-scan-dir=/etc/php.d --localstatedir=/var --datadir=/usr/share/php --mandir=/usr/share/man --enable-fpm --with-fpm-user=apache --with-fpm-group=apache --with-fpm-systemd --with-config-file-path=/etc --with-zlib --enable-bcmath --with-bz2 --enable-calendar --enable-dba=shared --with-gdbm --with-gmp --enable-ftp --with-gettext --enable-mbstring --with-readline --enable-sockets --enable-intl --enable-soap --with-openssl --with-mysqli --with-pdo-mysql --with-mysql-sock=/run/mysql.sock --with-curl --with-gd --with-jpeg-dir --with-freetype-dir --with-ldap --with-xsl --enable-exif --enable-zip cd php-7.4.7 && ./configure --prefix=/usr --sysconfdir=/etc --with-config-file-scan-dir=/etc/php.d --localstatedir=/var --datadir=/usr/share/php --mandir=/usr/share/man --enable-fpm --with-fpm-user=apache --with-fpm-group=apache --with-fpm-systemd --with-config-file-path=/etc --with-zlib --enable-bcmath --with-bz2 --enable-calendar --enable-dba=shared --with-gdbm --with-gmp --enable-ftp --with-gettext --enable-mbstring --with-readline --enable-sockets --enable-intl --enable-soap --with-openssl --with-mysqli --with-pdo-mysql --with-mysql-sock=/run/mysql.sock --with-curl --with-gd --with-jpeg-dir --with-freetype-dir --with-ldap --with-xsl --enable-exif --enable-zip
$(MAKE) -C php-7.3.6 CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1' $(MAKE) -C php-7.4.7 CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
-yes "n" | $(MAKE) -C php-7.3.6 test -yes "n" | $(MAKE) -C php-7.4.7 test
$(MAKE) -C php-7.3.6 install $(MAKE) -C php-7.4.7 install
cd php-7.3.6 && install -v -m644 php.ini-production /etc/php.ini cd php-7.4.7 && install -v -m644 php.ini-production /etc/php.ini
cd php-7.3.6 && install -v -m755 -d /usr/share/doc/php-7.3.6 cd php-7.4.7 && install -v -m755 -d /usr/share/doc/php-7.4.7
cd php-7.3.6 && install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS README* UPGRADING* php.gif /usr/share/doc/php-7.3.6 cd php-7.4.7 && install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS README* UPGRADING* php.gif /usr/share/doc/php-7.4.7
ln -v -sfn /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt /usr/share/doc/php-7.3.6 ln -v -sfn /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt /usr/share/doc/php-7.4.7
ln -v -sfn /usr/lib/php/doc/Structures_Graph/docs /usr/share/doc/php-7.3.6 ln -v -sfn /usr/lib/php/doc/Structures_Graph/docs /usr/share/doc/php-7.4.7
mv -v /etc/php-fpm.conf.default /etc/php-fpm.conf mv -v /etc/php-fpm.conf.default /etc/php-fpm.conf
mv -v /etc/php-fpm.d/www.conf.default /etc/php-fpm.d/www.conf mv -v /etc/php-fpm.d/www.conf.default /etc/php-fpm.d/www.conf
mkdir -p /etc/php.d mkdir -p /etc/php.d
...@@ -16,22 +16,22 @@ all: httpd-conf php-fpm-service ...@@ -16,22 +16,22 @@ all: httpd-conf php-fpm-service
@echo "$$HTTPD_CONF" > /etc/httpd/conf/php.conf @echo "$$HTTPD_CONF" > /etc/httpd/conf/php.conf
@echo "$$PHP_FPM_SERVICE" > /lib/systemd/system/php-fpm.service @echo "$$PHP_FPM_SERVICE" > /lib/systemd/system/php-fpm.service
systemctl enable php-fpm.service systemctl enable php-fpm.service
rm -rf php-7.3.6 rm -rf php-7.4.7
php: php:
tar xf php-7.3.6.tar.xz tar xf php-7.4.7.tar.xz
cd php-7.3.6 && ./configure --prefix=/usr --sysconfdir=/etc --with-config-file-scan-dir=/etc/php.d --localstatedir=/var --datadir=/usr/share/php --mandir=/usr/share/man --enable-fpm --with-fpm-user=apache --with-fpm-group=apache --with-fpm-systemd --with-config-file-path=/etc --with-zlib --enable-bcmath --with-bz2 --enable-calendar --enable-dba=shared --with-gdbm --with-gmp --enable-ftp --with-gettext --enable-mbstring --with-readline --enable-sockets --enable-intl --enable-soap --with-openssl --with-mysqli --with-pdo-mysql --with-mysql-sock=/run/mysql.sock --with-curl --with-gd --with-jpeg-dir --with-freetype-dir --with-ldap --with-xsl --enable-exif --enable-zip cd php-7.4.7 && ./configure --prefix=/usr --sysconfdir=/etc --with-config-file-scan-dir=/etc/php.d --localstatedir=/var --datadir=/usr/share/php --mandir=/usr/share/man --enable-fpm --with-fpm-user=apache --with-fpm-group=apache --with-fpm-systemd --with-config-file-path=/etc --with-zlib --enable-bcmath --with-bz2 --enable-calendar --enable-dba=shared --with-gdbm --with-gmp --enable-ftp --with-gettext --enable-mbstring --with-readline --enable-sockets --enable-intl --enable-soap --with-openssl --with-mysqli --with-pdo-mysql --with-mysql-sock=/run/mysql.sock --with-curl --with-gd --with-jpeg-dir --with-freetype-dir --with-ldap --with-xsl --enable-exif --enable-zip
$(MAKE) -C php-7.3.6 CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1' $(MAKE) -C php-7.4.7 CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
-yes "n" | $(MAKE) -C php-7.3.6 test -yes "n" | $(MAKE) -C php-7.4.7 test
$(MAKE) -C php-7.3.6 install $(MAKE) -C php-7.4.7 install
cd php-7.3.6 && install -v -m644 php.ini-production /etc/php.ini cd php-7.4.7 && install -v -m644 php.ini-production /etc/php.ini
cd php-7.3.6 && install -v -m755 -d /usr/share/doc/php-7.3.6 cd php-7.4.7 && install -v -m755 -d /usr/share/doc/php-7.4.7
cd php-7.3.6 && install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS README* UPGRADING* php.gif /usr/share/doc/php-7.3.6 cd php-7.4.7 && install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS README* UPGRADING* php.gif /usr/share/doc/php-7.4.7
ln -v -sfn /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt /usr/share/doc/php-7.3.6 ln -v -sfn /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt /usr/share/doc/php-7.4.7
ln -v -sfn /usr/lib/php/doc/Structures_Graph/docs /usr/share/doc/php-7.3.6 ln -v -sfn /usr/lib/php/doc/Structures_Graph/docs /usr/share/doc/php-7.4.7
mkdir -p /etc/php.d mkdir -p /etc/php.d
sed -i 's@php/includes"@&\ninclude_path = ".:/usr/lib/php"@' /etc/php.ini sed -i 's@php/includes"@&\ninclude_path = ".:/usr/lib/php"@' /etc/php.ini
rm -rf php-7.3.6 rm -rf php-7.4.7
httpd-conf: httpd-conf:
define HTTPD_CONF define HTTPD_CONF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment