Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
php
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
php
Commits
4aa25347
Commit
4aa25347
authored
Jul 08, 2023
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated php to 8.0.7
parent
ee336435
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
22 deletions
+30
-22
Makefile
Makefile
+30
-22
php-8.0.7.tar.xz
php-8.0.7.tar.xz
+0
-0
No files found.
Makefile
View file @
4aa25347
all
:
httpd-conf php-fpm-service
all
:
httpd-conf php-fpm-service
tar
xf php-7.4.7.tar.xz
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
1024
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
--enable-gd
--with-jpeg
--with-freetype
--with-ldap
--with-xsl
--enable-exif
--with-zip
chmod
600 swap
$(MAKE)
-C
php-7.4.7 CPPFLAGS+
=
' -DU_USING_ICU_NAMESPACE=1'
mkswap swap
-
yes
"n"
|
$(MAKE)
-C
php-7.4.7
test
swapon swap
$(MAKE)
-C
php-7.4.7
install
cd
php-7.4.7
&&
install
-v
-m644
php.ini-production /etc/php.ini
tar
xf
php-8.0.7.tar.xz
cd
php-7.4.7
&&
install
-v
-m755
-d
/usr/share/doc/php-7.4.7
cd
php-8.0.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
--enable-gd
--with-jpeg
--with-freetype
--with-ldap
--with-xsl
--enable-exif
--with-zip
cd
php-7.4.7
&&
install
-v
-m644
EXTENSIONS NEWS README
*
UPGRADING
*
/usr/share/doc/php-7.4.7
$(MAKE)
-C
php-8.0.7
CPPFLAGS
+=
' -DU_USING_ICU_NAMESPACE=1'
ln
-v
-sfn
/usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt /usr/share/doc/php-7.4.7
-yes
"n"
|
$(MAKE)
-C
php-8.0.7
test
ln
-v
-sfn
/usr/lib/php/doc/Structures_Graph/docs /usr/share/doc/php-7.4.7
$(MAKE)
-C
php-8.0.7
install
cd
php-8.0.7
&&
install
-v
-m644
php.ini-production
/etc/php.ini
cd
php-8.0.7
&&
install
-v
-m755
-d
/usr/share/doc/php-8.0.7
cd
php-8.0.7
&&
install
-v
-m644
EXTENSIONS
NEWS
README*
UPGRADING*
/usr/share/doc/php-8.0.7
ln
-v
-sfn
/usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt
/usr/share/doc/php-8.0.7
ln
-v
-sfn
/usr/lib/php/doc/Structures_Graph/docs
/usr/share/doc/php-8.0.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 +21,25 @@ all: httpd-conf php-fpm-service
...
@@ -16,22 +21,25 @@ 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.4.7
rm
-rf
php-8.0.7
swapoff
swap
rm
-rf
swap
php
:
php
:
tar
xf php-
7.4
.7.tar.xz
tar
xf php-
8.0
.7.tar.xz
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
--enable-gd
--with-jpeg
--with-freetype
--with-ldap
--with-xsl
--enable-exif
--with-zip
cd
php-
8.0
.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
--enable-gd
--with-jpeg
--with-freetype
--with-ldap
--with-xsl
--enable-exif
--with-zip
$(MAKE)
-C
php-
7.4
.7 CPPFLAGS+
=
' -DU_USING_ICU_NAMESPACE=1'
$(MAKE)
-C
php-
8.0
.7 CPPFLAGS+
=
' -DU_USING_ICU_NAMESPACE=1'
-
yes
"n"
|
$(MAKE)
-C
php-
7.4
.7
test
-
yes
"n"
|
$(MAKE)
-C
php-
8.0
.7
test
$(MAKE)
-C
php-
7.4
.7
install
$(MAKE)
-C
php-
8.0
.7
install
cd
php-
7.4
.7
&&
install
-v
-m644
php.ini-production /etc/php.ini
cd
php-
8.0
.7
&&
install
-v
-m644
php.ini-production /etc/php.ini
cd
php-
7.4.7
&&
install
-v
-m755
-d
/usr/share/doc/php-7.4
.7
cd
php-
8.0.7
&&
install
-v
-m755
-d
/usr/share/doc/php-8.0
.7
cd
php-
7.4.7
&&
install
-v
-m644
EXTENSIONS NEWS README
*
UPGRADING
*
/usr/share/doc/php-7.4
.7
cd
php-
8.0.7
&&
install
-v
-m644
EXTENSIONS NEWS README
*
UPGRADING
*
/usr/share/doc/php-8.0
.7
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/Archive_Tar/docs/Archive_Tar.txt /usr/share/doc/php-
8.0
.7
ln
-v
-sfn
/usr/lib/php/doc/Structures_Graph/docs /usr/share/doc/php-
7.4
.7
ln
-v
-sfn
/usr/lib/php/doc/Structures_Graph/docs /usr/share/doc/php-
8.0
.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.4
.7
rm
-rf
php-
8.0
.7
httpd-conf
:
httpd-conf
:
define
HTTPD_CONF
define
HTTPD_CONF
...
...
php-
7.4
.7.tar.xz
→
php-
8.0
.7.tar.xz
View file @
4aa25347
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment