Skip to content

Commit 429d3ed

Browse files
committed
Update README --skip-build
1 parent 314dec8 commit 429d3ed

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
Install-PhpMaster.ps1
2+
Install-PhpNightly.ps1

README.md

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,36 @@
77
> Build PHP nightly for windows.
88
99
## Builds
10-
- [php-master-nts-windows-vs16-x64.zip](https://dl.bintray.com/shivammathur/php/php-master-nts-windows-vs16-x64.zip)
11-
- [php-master-nts-windows-vs16-x64-AVX.zip](https://dl.bintray.com/shivammathur/php/php-master-nts-windows-vs16-x64-AVX.zip)
12-
- [php-master-ts-windows-vs16-x64.zip](https://dl.bintray.com/shivammathur/php/php-master-ts-windows-vs16-x64.zip)
13-
- [php-master-nts-windows-vs16-x86.zip](https://dl.bintray.com/shivammathur/php/php-master-nts-windows-vs16-x86.zip)
14-
- [php-master-ts-windows-vs16-x86.zip](https://dl.bintray.com/shivammathur/php/php-master-ts-windows-vs16-x86.zip)
15-
- [debug, devel and test packs](https://bintray.com/shivammathur/php/master-windows#files)
10+
11+
Following configurations are build nightly.
12+
13+
- `nts-x64`, `nts-x64-AVX`, `ts-x64`, `nts-x86`, `ts-x86`.
14+
- `debug-pack`, `devel=pack` for each configuration.
15+
- `test pack` for the version.
16+
17+
### PHP 8.1.0-dev/master
18+
[https://bintray.com/shivammathur/php/master-windows#files](https://bintray.com/shivammathur/php/master-windows#files)
19+
20+
### PHP 8.0.0-dev
21+
[https://bintray.com/shivammathur/php/8.0-windows#files](https://bintray.com/shivammathur/php/8.0-windows#files)
22+
23+
## Install
24+
25+
```ps1
26+
# Configure
27+
$php_dir = 'C:\tools\php' # Set this as per your setup
28+
$arch = 'x64' # Set x64 or x86
29+
$ts = $False # Set $False for nts or $True for ts
30+
$version = '8.1' # Set 8.0 or 8.1
31+
32+
# Install
33+
New-Item -Path C:\tools\php -Type Directory -Force
34+
Invoke-WebRequest -UseBasicParsing -Uri https://dl.bintray.com/shivammathur/php/Install-PhpNightly.ps1 -OutFile $php_dir\Install-PhpNightly.ps1
35+
. $php_dir\Install-PhpNightly.ps1 -Architecture $arch -ThreadSafe $ts -Path $php_dir -Version $version
36+
37+
# Test
38+
. $php_dir\php -v
39+
```
1640

1741
## License
1842

0 commit comments

Comments
 (0)