GithubHelp home page GithubHelp logo

PHP 8 about pecl-memcache HOT 11 CLOSED

websupport-sk avatar websupport-sk commented on June 1, 2024
PHP 8

from pecl-memcache.

Comments (11)

Jan-E avatar Jan-E commented on June 1, 2024 1

I am not sure if that is complete. PHP 7.0 up until 7.4 still had win32/php_stdint,h on board, which worked fine. Better to use that than rely on a stdint.h provided by VC14 or VC15. I will test and supply a complete patch later. Might take some time, because I am now going to visit my mother in Rotterdam. Respectable age: she turms 96 on May 3rd.

from pecl-memcache.

andypost avatar andypost commented on June 1, 2024

Used to build just released 8.0 version and getting

php8 --ri memcache

memcache

memcache support => enabled
Version => 4.0.5.2
Revision => $Revision$

Directive => Local Value => Master Value
memcache.allow_failover => 1 => 1
memcache.max_failover_attempts => 20 => 20
memcache.default_port => 11211 => 11211
memcache.chunk_size => 32768 => 32768
memcache.protocol => ascii => ascii
memcache.hash_strategy => consistent => consistent
memcache.hash_function => crc32 => crc32
memcache.redundancy => 1 => 1
memcache.session_redundancy => 2 => 2
memcache.compress_threshold => 20000 => 20000
memcache.lock_timeout => 15 => 15
memcache.session_prefix_host_key => Off => Off
memcache.session_prefix_host_key_remove_www => On => On
memcache.session_prefix_host_key_remove_subdomain => Off => Off
memcache.session_prefix_static_key => no value => no value
memcache.session_save_path => no value => no value
memcache.prefix_host_key => Off => Off
memcache.prefix_host_key_remove_www => On => On
memcache.prefix_host_key_remove_subdomain => Off => Off
memcache.prefix_static_key => no value => no value

from pecl-memcache.

andypost avatar andypost commented on June 1, 2024

The issue is https://github.com/websupport-sk/pecl-memcache/blob/NON_BLOCKING_IO_php8/src/php_memcache.h#L70

#80 the related

from pecl-memcache.

tomassrnka avatar tomassrnka commented on June 1, 2024

Hopefully resolved now, sorry about that

from pecl-memcache.

andypost avatar andypost commented on June 1, 2024

FYI packaged to Alpinelinux testing repo https://pkgs.alpinelinux.org/packages?name=php8-pecl-memcache&branch=edge it skips few tests because it tricky to run enough services

from pecl-memcache.

faca5 avatar faca5 commented on June 1, 2024

Thank you.

from pecl-memcache.

glensc avatar glensc commented on June 1, 2024

Perhaps this should be closed due to the unhelpful issue title as the module supporting PHP 8.0 is already released.

from pecl-memcache.

nono303 avatar nono303 commented on June 1, 2024

Perhaps this should be closed due to the unhelpful issue title as the module supporting PHP 8.0 is already released.

https://github.com/nono303/PHP-memcache-dll for Windows binaries

from pecl-memcache.

Jan-E avatar Jan-E commented on June 1, 2024

i disagree that the PHP8 issue is completed, because win32/php_stdint.h is still there in the main branch. Of course you can patch it before building on Windows like @nono303 and I am doing, but that is not as it should be.

from pecl-memcache.

tomassrnka avatar tomassrnka commented on June 1, 2024

@Jan-E is this the patch that makes the extension build & work on windows? https://github.com/nono303/PHP-memcache-dll/blob/master/php82.patch

Unfortunately I have no idea how to test it, but if there is PR I can merge it and tag it with win support

from pecl-memcache.

Jan-E avatar Jan-E commented on June 1, 2024

#110 fixes building from at least PHP 7.2. I did not try PHP 7.0 and 7.1 yet.

from pecl-memcache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.