Topic: PHP 7.4 timecop

Any plans to add Timecop (php-pecl-timecop) to the 7.4 repository?

Re: PHP 7.4 timecop

It is not there because not yet compatible.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 7.4 timecop

Thanks for the information. I was able to install it on CentOS 8 using:

git clone https://github.com/hnw/php-timecop.git
dnf config-manager --set-enabled PowerTools
dnf install libedit-devel
dnf install php-devel
cd php-timecop
phpize
./configure
make
make install

And then adding extension=timecop to /etc/php.ini.

(I'm putting this here for others to use and for me to remember the next time I do it.)

Re: PHP 7.4 timecop

but test suite fails for a while...


this project seems dead

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: PHP 7.4 timecop

but test suite fails for a while... ( even with 7.3)



this project seems dead(bugs reported months ago have still no answer)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

6 (edited by ritteh 2019-12-15 01:07:57)

Re: PHP 7.4 timecop

Huh, that's unfortunate. I'll try to run the test suite and see what I find. (Edit: all passed) It's an invaluable tool for our testing and I don't know of any alternatives so it's a shame if it were to die. Thanks for all your work in putting the repo together.

Re: PHP 7.4 timecop

Ah... indeed, it seems there is some very recent activity on github

Version 1.2.10 released 2 years ago is broken with 7.3 and 7.4

git master seems ok.

So I have run a new set of build, and add the package in the repository

BTW, the ZTS extension is still broken, and the old patch doesn't seems to work anymore and raise segfault, so is disabled for now.

But please, ask upstream for a new release.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi