{"id":46311091,"url":"https://github.com/dk-sirk/phpredis-windows-build-tools","last_synced_at":"2026-03-04T13:11:24.173Z","repository":{"id":209408897,"uuid":"723930003","full_name":"dk-sirk/phpredis-windows-build-tools","owner":"dk-sirk","description":"Easy build PhpRedis binary DLL for windows.","archived":false,"fork":false,"pushed_at":"2025-08-28T03:45:40.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-28T10:38:26.014Z","etag":null,"topics":["build","complie","php","phpredis","tools"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dk-sirk.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-27T03:40:52.000Z","updated_at":"2025-08-28T03:35:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7d870c9-19de-42a0-bdc1-0a811b0c36b1","html_url":"https://github.com/dk-sirk/phpredis-windows-build-tools","commit_stats":null,"previous_names":["dk-sirk/phpredis-windows-build-tools"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dk-sirk/phpredis-windows-build-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk-sirk%2Fphpredis-windows-build-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk-sirk%2Fphpredis-windows-build-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk-sirk%2Fphpredis-windows-build-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk-sirk%2Fphpredis-windows-build-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dk-sirk","download_url":"https://codeload.github.com/dk-sirk/phpredis-windows-build-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dk-sirk%2Fphpredis-windows-build-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30081266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T12:28:08.313Z","status":"ssl_error","status_checked_at":"2026-03-04T12:27:28.210Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","complie","php","phpredis","tools"],"created_at":"2026-03-04T13:11:23.549Z","updated_at":"2026-03-04T13:11:24.162Z","avatar_url":"https://github.com/dk-sirk.png","language":"Batchfile","readme":"# PhpRedis Windows Build Tools\r\n\r\nEasy build PhpRedis binary DLL for windows.\r\n\r\nLinks:\r\n- [PHP for Windows](https://windows.php.net)\r\n- [PhpRedis](https://github.com/phpredis/phpredis)\r\n- [PHP SDK Binary Tools](https://github.com/php/php-sdk-binary-tools)\r\n- [PhpRedis on PECL](https://pecl.php.net/package/redis)\r\n\r\n\r\n# Download\r\n\r\n- Visual Studio ( https://visualstudio.microsoft.com/downloads ) Download Community Edition\r\n- PHP SDK ( https://github.com/php/php-sdk-binary-tools ) Download source code ZIP\r\n- PHP Source ( https://windows.php.net/download ) Download source code ZIP and Development package\r\n- PhpRedis Source ( https://github.com/phpredis/phpredis ) Download source code ZIP\r\n\r\n# Prepare \r\n\r\n- Run Visual Studio Setup, select `MSVC v142 VS2019 C++ x64/x86 build tools` or high version, select `Windows 11 SDK (10.0.22621.0)` or high version, complete the installation according to the wizard.\r\n- Extract this tools to a empty folder, e.g., `c:\\build` alias `{build}`\r\n- Extract SDKs and sources to specified folder, excluding the first level directory if exist:\r\n  - PHP SDK -\u003e `{build}\\php-sdk`\r\n  - PHP Source -\u003e `{build}\\php-src`\r\n  - PHP Development package -\u003e `{build}\\php-devel-pack`\r\n  - PhpRedis Source -\u003e `{build}\\php-src\\ext\\redis`\r\n- **Edit `{build}\\_config.bat` !!!** Specify the correct parameters: VC_TOOLS_PATH, WIN_SDK_PATH, WIN_SDK_VERSION, PHP_NTS\r\n\r\n# Run\r\n\r\nOpen CMD console, cd `{build}`, run\r\n\r\n`init.bat`\r\n\r\nif no error accured, run\r\n\r\n`build.bat`\r\n\r\n# Output\r\n\r\n`php_redis_nts.dll` or `php_redis_ts.dll` you will find in `{build}\\release`.\r\n\r\n# Remark\r\n\r\n- Support x64 only.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdk-sirk%2Fphpredis-windows-build-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdk-sirk%2Fphpredis-windows-build-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdk-sirk%2Fphpredis-windows-build-tools/lists"}