iusrepo / php72u Goto Github PK
View Code? Open in Web Editor NEWPHP scripting language for creating dynamic web sites
PHP scripting language for creating dynamic web sites
While 7.2.18 is in released state since 22 days in this repo, it has NOT appeared in the stable repository:
https://dl.iuscommunity.org/pub/ius/stable/Redhat/7/x86_64/
Any specific reason, or just an oversight?
Ralf
After installing php72u-fpm, php-fpm no longer starts. I believe this is from #18
[root@ff58a1faba18 /]# yum install php72u-fpm
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
epel/x86_64/metalink | 17 kB 00:00:00
* base: mirror.datto.com
* epel: fedora-epel.mirrors.tds.net
* extras: mirror.datto.com
* updates: ewr.edge.kernel.org
base | 3.6 kB 00:00:00
epel | 5.4 kB 00:00:00
extras | 2.9 kB 00:00:00
ius | 1.3 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/8): epel/x86_64/group_gz | 88 kB 00:00:00
(2/8): base/7/x86_64/group_gz | 165 kB 00:00:00
(3/8): extras/7/x86_64/primary_db | 152 kB 00:00:00
(4/8): ius/x86_64/primary | 129 kB 00:00:00
(5/8): epel/x86_64/updateinfo | 1.0 MB 00:00:01
(6/8): epel/x86_64/primary_db | 6.9 MB 00:00:01
(7/8): base/7/x86_64/primary_db | 6.0 MB 00:00:02
(8/8): updates/7/x86_64/primary_db | 1.9 MB 00:00:02
ius 538/538
Resolving Dependencies
--> Running transaction check
---> Package php72u-fpm.x86_64 0:7.2.23-2.el7.ius will be installed
--> Processing Dependency: php-common(x86-64) = 7.2.23-2.el7.ius for package: php72u-fpm-7.2.23-2.el7.ius.x86_64
--> Processing Dependency: libargon2.so.0()(64bit) for package: php72u-fpm-7.2.23-2.el7.ius.x86_64
--> Running transaction check
---> Package libargon2.x86_64 0:20161029-3.el7 will be installed
---> Package php72u-common.x86_64 0:7.2.23-2.el7.ius will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================================================
Installing:
php72u-fpm x86_64 7.2.23-2.el7.ius ius 1.6 M
Installing for dependencies:
libargon2 x86_64 20161029-3.el7 epel 23 k
php72u-common x86_64 7.2.23-2.el7.ius ius 1.2 M
Transaction Summary
====================================================================================================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 2.8 M
Installed size: 17 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/libargon2-20161029-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for libargon2-20161029-3.el7.x86_64.rpm is not installed
(1/3): libargon2-20161029-3.el7.x86_64.rpm | 23 kB 00:00:00
warning: /var/cache/yum/x86_64/7/ius/packages/php72u-fpm-7.2.23-2.el7.ius.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 4b274df2: NOKEY ] 1.5 MB/s | 1.0 MB 00:00:01 ETA
Public key for php72u-fpm-7.2.23-2.el7.ius.x86_64.rpm is not installed
(2/3): php72u-fpm-7.2.23-2.el7.ius.x86_64.rpm | 1.6 MB 00:00:00
(3/3): php72u-common-7.2.23-2.el7.ius.x86_64.rpm | 1.2 MB 00:00:01
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.7 MB/s | 2.8 MB 00:00:01
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <[email protected]>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-12.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
Importing GPG key 0x4B274DF2:
Userid : "IUS (7) <[email protected]>"
Fingerprint: c958 7a09 a11f d706 4f0c a0f4 e558 0725 4b27 4df2
Package : ius-release-2-1.el7.ius.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : php72u-common-7.2.23-2.el7.ius.x86_64 1/3
Installing : libargon2-20161029-3.el7.x86_64 2/3
Installing : php72u-fpm-7.2.23-2.el7.ius.x86_64 3/3
Verifying : libargon2-20161029-3.el7.x86_64 1/3
Verifying : php72u-common-7.2.23-2.el7.ius.x86_64 2/3
Verifying : php72u-fpm-7.2.23-2.el7.ius.x86_64 3/3
Installed:
php72u-fpm.x86_64 0:7.2.23-2.el7.ius
Dependency Installed:
libargon2.x86_64 0:20161029-3.el7 php72u-common.x86_64 0:7.2.23-2.el7.ius
Complete!
[root@ff58a1faba18 /]# php-fpm
[18-Oct-2019 18:11:08] ERROR: Unable to create the PID file (/run/php-fpm/php-fpm.pid).: No such file or directory (2)
[18-Oct-2019 18:11:08] ERROR: FPM initialization failed
Not sure if this should be reported here or upstream, but I've run in to the above error installing php72u-fpm from the IUS repo:
/etc/cron.daily/logrotate:
error: skipping "/var/log/php-fpm/error.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
Indeed the log directory is group writable:
drwxrwx---. 2 php-fpm php-fpm 23 Apr 24 15:05 php-fpm
I found a similar issue with a past package:
I'm trying to install php72u under CentOS 7 but yum can't find any packages.
I looked at the repo and can't see any php72u packages, was php72u removed completely?
I've been looking under: https://repo.ius.io/7/x86_64/packages/p/
Thank you.
The file /var/log/php-fpm/error.log
is not rotated by the /etc/logrotate.d/php-fpm
configuration because the file /run/php-fpm/php-fpm.pid
is missing so logrotate can't signal the daemon. This is because the pid setting is undefined in /etc/php-fpm.conf
:
[global]
; Pid file
; Default Value: none
;pid = /run/php-fpm/php-fpm.pid
This may become an issue when enabling catch_workers_output
to log debug output.
We will be temporarily moving php72u packages back to the testing repos. We discovered that php72u being present in the stable repos is causing issues installing php71u-pecl-* packages.
yum install php71u-pecl-redis
Error: php72u-common conflicts with php71u-common-7.1.13-1.ius.centos7.x86_64
To work around this temporarily you can exclude php72u packages from the dependency resolution.
yum install php71u-pecl-redis --exclude php72u\*
The php72u packages we have built so far will still be available in the testing repos during this period.
yum --enablerepo ius-testing install php72u-pecl-redis
Note: this issue is not specific to php*-pecl-redis, that's just what I used for my examples.
This is due to the post(un)install scriptlet requirement on pecl, which is a component of pear. In php70u and earlier, we shipped specific php*u-pear packages for every stack. In php71u, we decided to try a new approach and created a common pear1u package to be shared for all future PHP stacks. This worked as expected until php72u moved to the stable repos. Now yum is showing it's age as it's dependency resolution is not capable of calculating the correct transaction and attempts to pull in a mix of php71u and php72u packages. We didn't initially notice this during development because we build packages with mock on Fedora, which uses dnf to set up the build root. Once all php71u-pecl-* packages have been updated to address this, we'll republish php72u packages to the stable repos again.
PHP docs specify the default value for zend.assertions
as 1
. However, this package declares it as -1
, optimizing away assert
statements and any code within them.
Line 1478 in 954856c
e.g. if you have
assert($foo->someOperation());
with zend.assertions = -1
, $foo->someOperation()
will never be called.
I was asked to recreate the iusrepo/wishlist#222 issue here.
I know of the IUS policy about not adding any new packages for the older (but still supported) distributions, but I think there should be some rare exceptions for super-popular packages like PHP.
The problem is that PHP 7.1 will be EOL-ed in December 2019, while CentOS 6 will be EOL-ed in November 2020.
In case if we don't have a newer PHP version for CentOS 6 its users are going to have high security issues risks during a whole year, not getting any PHP updates fixing the discovered vulnerabilities.
Thank you.
--> Running transaction check
---> Package php72u-mbstring.x86_64 0:7.2.31-2.el7.ius will be an update
--> Processing Dependency: libonig.so.5()(64bit) for package: php72u-mbstring-7.2.31-2.el7.ius.x86_64
---> Package samba-libs.x86_64 0:4.10.4-11.el7_8 will be installed
--> Processing Dependency: libpytalloc-util.so.2(PYTALLOC_UTIL_2.1.9)(64bit) for package: samba-libs-4.10.4-11.el7_8.x86_64
--> Processing Dependency: libpytalloc-util.so.2(PYTALLOC_UTIL_2.1.6)(64bit) for package: samba-libs-4.10.4-11.el7_8.x86_64
--> Processing Dependency: libpytalloc-util.so.2(PYTALLOC_UTIL_2.0.6)(64bit) for package: samba-libs-4.10.4-11.el7_8.x86_64
--> Processing Dependency: libpytalloc-util.so.2()(64bit) for package: samba-libs-4.10.4-11.el7_8.x86_64
--> Processing Dependency: libpyldb-util.so.1()(64bit) for package: samba-libs-4.10.4-11.el7_8.x86_64
--> Running transaction check
---> Package php72u-mbstring.x86_64 0:7.2.31-2.el7.ius will be an update
--> Processing Dependency: libonig.so.5()(64bit) for package: php72u-mbstring-7.2.31-2.el7.ius.x86_64
---> Package pyldb.x86_64 0:1.5.4-1.el7 will be installed
--> Processing Dependency: python-tdb(x86-64) >= 1.3.18 for package: pyldb-1.5.4-1.el7.x86_64
---> Package pytalloc.x86_64 0:2.1.16-1.el7 will be installed
--> Running transaction check
---> Package php72u-mbstring.x86_64 0:7.2.31-2.el7.ius will be an update
--> Processing Dependency: libonig.so.5()(64bit) for package: php72u-mbstring-7.2.31-2.el7.ius.x86_64
---> Package python-tdb.x86_64 0:1.3.18-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: php72u-mbstring-7.2.31-2.el7.ius.x86_64 (ew-ius7)
Requires: libonig.so.5()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
There's no mention anywhere I could find where to get these.
PHP 7.2.27 Release Announcement
The PHP development team announces the immediate availability of PHP 7.2.27. This is a security release.
All PHP 7.2 users are encouraged to upgrade to this version.
Right now if one wants to build an embedded php application, one must manually install libedit-devel
and libargon2-devel
. I would suggest one of the following alternatives:-
https://secure.php.net/archive/2018.php#id2018-10-11-2
The PHP development team announces the immediate availability of PHP 7.2.11. This is a bugfix release.
Looks like you have commits for 7.2.19 and 7.2.20 but the latest in the IUS repo seems to be 7.2.18.
php72u-gd should be compiled with "--with-webp-dir=libwebp Directory" option.
It's needed to create webP Images with PHP (http://php.net/manual/de/function.imagewebp.php)
I agree to test the new package to ensure that it works as expected. Once I am
satisfied with the results of my testing I will comment on this issue with the
word "STABLE" to get it promoted to the stable repos.
I want to politly inquire about the missing PHP update, it has been released a while ago.
Ralf
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.