Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

PHP Windows Downloader

Download PHP Windows binary, debug symbol pack and development pack from https://downloads.php.net/~windows/releases/archives/ and aggregate them into a single zip archive suitable for CI publishing.

Usage

python download_php_windows.py --version 8.4.22 --nts --x64 --output ./dist
python download_php_windows.py --version 8.5.7 --ts  --x64 --debug --output ./dist

The output file is named like:

dist/php-8.4.22-nts-Win32-vs17-x64-all.zip
dist/php-8.5.7-Win32-vs17-x64-debug-all.zip  # with --debug

Options

Option Description
--version Full PHP version, e.g. 8.4.22
--x64 / --x86 Target architecture
--ts / --nts Thread Safe or Non Thread Safe build
--debug Also download the debug symbol pack (default: no debug pack)
--output Output directory (default: current directory)
--keep-parts Keep the individual downloaded zip files
--timeout HTTP timeout in seconds (default: 120)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages