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.

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

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

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

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)

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

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.

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test