Open xiaoliwang opened 2 years ago
box fails at compiling your fix to a phar. please post a release to your fork.
This PR fixed the issue I'm having on Windows. Please merge this PR as soon as possible.
box fails at compiling your fix to a phar. please post a release to your fork.
I managed to build .phar file from this PR and install redis
PHP extension myself. As listened on phpredis INSTALL.md. Here the procedure how I build this:
git
clone the source repo, then cd pickle
composer install --no-dev --optimize-autoloader
patch.exe
. I had to switch to Git's bash.exe
shell.box build
The binary is available under bin
directory.
This is the output on how I install redis.
> bin\pickle.bat install redis
+---------------+----------------------+
| php Path | C:\xampp\php\php.exe |
| php Version | 7.4.33 |
| Compiler | vc15 |
| Architecture | x64 |
| Thread safety | yes |
| Extension dir | C:\xampp\php\ext |
| php.ini | C:\xampp\php\php.ini |
+---------------+----------------------+
downloading https://windows.php.net/downloads/pecl/releases/redis/5.3.7/php_redis-5.3.7-7.4-ts-vc15-x64.zip
667099/667099 [============================] 100%Extracting archives...
copying C:\xampp\tmp\pickle-redis\php_redis.dll to C:\xampp\php\ext\php_redis.dll
Fixes https://github.com/FriendsOfPHP/pickle/issues/253