All Projects → johmue → Win Php Sdk Builder

johmue / Win Php Sdk Builder

Licence: mit
build a php-sdk environment on Win

Projects that are alternatives of or similar to Win Php Sdk Builder

Autoupdateproject
App 内部更新 提供12种更新的样式 适配到Android 9.0 支持自定义UI 断点续传
Stars: ✭ 778 (+3994.74%)
Mutual labels:  sdk
Themoviedb
A node.js module with support for both callbacks and promises to provide access to the TMDb API
Stars: ✭ 5 (-73.68%)
Mutual labels:  sdk
Awx Go
AWX SDK for the Go programming language: https://github.com/ansible/awx
Stars: ✭ 17 (-10.53%)
Mutual labels:  sdk
Sdk Js
Tanker client-side encryption SDK for JavaScript
Stars: ✭ 786 (+4036.84%)
Mutual labels:  sdk
Miniapp
微信小程序服务端 SDK (for Golang)
Stars: ✭ 815 (+4189.47%)
Mutual labels:  sdk
Sfml
Simple and Fast Multimedia Library
Stars: ✭ 7,316 (+38405.26%)
Mutual labels:  sdk
Contentful.js
JavaScript library for Contentful's Delivery API (node & browser)
Stars: ✭ 769 (+3947.37%)
Mutual labels:  sdk
Circuit Sdk
JavaScript and Node.js SDK for Circuit
Stars: ✭ 18 (-5.26%)
Mutual labels:  sdk
Midiconstants
An unofficial MIDI SDK
Stars: ✭ 5 (-73.68%)
Mutual labels:  sdk
Iran Onesignal
Avoid onesignal sanctions for IRAN. (Updated to v2.9.4)
Stars: ✭ 17 (-10.53%)
Mutual labels:  sdk
Botframework Sdk
Bot Framework provides the most comprehensive experience for building conversation applications.
Stars: ✭ 6,673 (+35021.05%)
Mutual labels:  sdk
Chat Sdk Ios
Chat SDK iOS - Open Source Mobile Messenger
Stars: ✭ 813 (+4178.95%)
Mutual labels:  sdk
Sumologic Python
Sumologic's python api library
Stars: ✭ 6 (-68.42%)
Mutual labels:  sdk
Compressonator
Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs
Stars: ✭ 785 (+4031.58%)
Mutual labels:  sdk
Azure Kinect Sensor Sdk
A cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.
Stars: ✭ 889 (+4578.95%)
Mutual labels:  sdk
Pixelvision8
Pixel Vision 8's core philosophy is to teach retro game development with streamlined workflows. PV8 is also a platform that standardizes 8-bit fantasy console limitations built on top of the open-source C# game engine based on MonoGame.
Stars: ✭ 773 (+3968.42%)
Mutual labels:  sdk
Sdk
The Dart SDK, including the VM, dart2js, core libraries, and more.
Stars: ✭ 7,539 (+39578.95%)
Mutual labels:  sdk
Android Sdk
Beaconstac ADVANCED SDK for Android devices
Stars: ✭ 18 (-5.26%)
Mutual labels:  sdk
Centrifuge
Cross-platform runtime mod loader and API for any Unity-based game. Supports Unity 5 and up!
Stars: ✭ 18 (-5.26%)
Mutual labels:  sdk
Pesdk Ios Examples
A fully customizable photo editor for your app.
Stars: ✭ 837 (+4305.26%)
Mutual labels:  sdk

win-php-sdk-builder

License

This software is distributed under the MIT license and is free of charge. For further information see the LICENSE file.

What is it?

Building PHP or PHP extensions on Windows systems is not so easy even with a great step-by-step guide available here https://wiki.php.net/internals/windows/stepbystepbuild and an updated version here https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2 .

These scripts are intended to ease this process for the average Windows PHP user and to have a good starting point for compiling your own or third party extensions.

If you have Git and MS Visual Studio Express 2012 for Windows Desktop (PHP 5.6.x) or MS Visual Studio Express 2015 for Windows Desktop (PHP 7.0.x & PHP 7.1.x) already installed it should compile a working PHP version within a few clicks.

If you prefer a lean build environment you can also use MS Visual C++ Build Tools 2015 instead of Visual Studio which can be found here http://landinghub.visualstudio.com/visual-cpp-build-tools .

Please note that PHP 7.0.x and 7.1.x require VC++ 14.0 (= Visual Studio 2015 editions) while PHP 7.2.x requires VC++ 15.0 (= Visual Studio 2017 editions).

Why?

The main reason (for me) is to compile up to date versions of the php_excel extension for Windows which can be found here https://github.com/iliaal/php_excel .

Which PHP versions are currently supported?

PHP 5.6.x

  • php-5.6.30-nts-VC11-x86
  • php-5.6.30-VC11-x86
  • php-5.6.30-nts-VC11-x64
  • php-5.6.30-VC11-x64

PHP 7.0.x

  • php-7.0.17-nts-VC14-x86
  • php-7.0.17-VC14-x86
  • php-7.0.17-nts-VC14-x64
  • php-7.0.17-VC14-x64

PHP 7.1.x

  • php-7.1.7-nts-VC14-x86
  • php-7.1.7-VC14-x86
  • php-7.1.7-nts-VC14-x64
  • php-7.1.7-VC14-x64

PHP 7.2.x-dev

  • php-7.2.0beta1-nts-VC15-x86-dev
  • php-7.2.0beta1-VC15-x86-dev
  • php-7.2.0beta1-nts-VC15-x64-dev
  • php-7.2.0beta1-VC15-x64-dev

How to build PHP 7.0.x and PHP 7.1.x?

32-bit build

C:\> git clone https://github.com/johmue/win-php-sdk-builder.git php-sdk
C:\> cd php-sdk
C:\php-sdk> build-php-7.0.x-win32-sdk.bat
...or...
C:\php-sdk> build-php-7.1.x-win32-sdk.bat

Open VS2015 x86 Native Tools Command Prompt - you will find it in the start menu group of VS Studio. The following commands will only work within the VS Command Prompt. It will not work with the standard Windows CLI.

C:\php-sdk> compile-php-7.0.17-nts-x86.bat
...or...
C:\php-sdk> compile-php-7.1.7-nts-x86.bat

If everything worked fine you will find a compiled version of PHP e.g. here

C:\php-sdk\phpdev\vc14\x86\obj_7.0.17\Release\php-7.0.17-nts-Win32-VC11-x86.zip
...or...
C:\php-sdk\phpdev\vc14\x86\obj_7.1.7\Release\php-7.1.7-nts-Win32-VC11-x86.zip

64-bit build

C:\> git clone https://github.com/johmue/win-php-sdk-builder.git php-sdk
C:\> cd php-sdk
C:\php-sdk> build-php-7.0.x-win64-sdk.bat

Open VS2015 x64 Cross Tools Command Prompt - you will find it in the start menu group of VS Studio. The following commands will only work within the VS Command Prompt. It will not work with the standard Windows CLI.

C:\php-sdk> compile-php-7.0.17-nts-x64.bat
...or...
C:\php-sdk> compile-php-7.1.7-nts-x64.bat

If everything worked fine you will find a compiled version of PHP e.g. here

C:\php-sdk\phpdev\vc14\x64\obj_7.0.17\Release\php-7.0.17-nts-Win32-VC11-x64.zip
...or...
C:\php-sdk\phpdev\vc14\x64\obj_7.1.7\Release\php-7.1.7-nts-Win32-VC11-x64.zip

How to build PHP 5.6.x?

32-bit build

C:\> git clone https://github.com/johmue/win-php-sdk-builder.git php-sdk
C:\> cd php-sdk
C:\php-sdk> build-php-5.6.x-win32-sdk.bat

Open VS2012 x86 Native Tools Command Prompt - you will find it in the start menu group of VS Studio. The following commands will only work within the VS Command Prompt. It will not work with the standard Windows CLI.

C:\php-sdk> compile-php-5.6.30-nts-x86.bat

If everything worked fine you will find a compiled version of PHP e.g. here

C:\php-sdk\phpdev\vc11\x86\obj_5.6.30\Release\php-5.6.30-nts-Win32-VC11-x86.zip

64-bit build

C:\> git clone https://github.com/johmue/win-php-sdk-builder.git php-sdk
C:\> cd php-sdk
C:\php-sdk> build-php-5.6.x-win64-sdk.bat

Open VS2012 x64 Cross Tools Command Prompt - you will find it in the start menu group of VS Studio. The following commands will only work within the VS Command Prompt. It will not work with the standard Windows CLI.

C:\php-sdk> compile-php-5.6.30-nts-x64.bat

If everything worked fine you will find a compiled version of PHP e.g. here

C:\php-sdk\phpdev\vc11\x64\obj_5.6.30\Release\php-5.6.30-nts-Win32-VC11-x64.zip

Prerequisites to build PHP 7.0.x or 7.1.x

A) MS Visual Studio Express 2015 for Windows Desktop (choose A or B or C)
https://www.visualstudio.com/post-download-vs?sku=xdesk&clcid=0x409

B) MS Visual Studio Community 2015 (choose A or B or C)
https://www.visualstudio.com/post-download-vs?sku=community&clcid=0x407

C) MS Visual++ 2015 Build Tools (choose A or B or C)
http://landinghub.visualstudio.com/visual-cpp-build-tools

Git for Windows
http://git-scm.com/download/win

MS Visual C++ Redistributable for Visual Studio 2015 (VC14)
https://www.microsoft.com/en-us/download/details.aspx?id=49984

wget (should be automatically loaded by the script if not available)
https://eternallybored.org/misc/wget/current/wget.exe

7-zip cli tool (should be automatically loaded by the script if not available)
http://downloads.sourceforge.net/sevenzip/7za920.zip

Prerequisites to build PHP 5.6

MS Visual Studio Express 2012 for Windows Desktop (!!ATTENTION!! do not use the 2013 edition)
http://www.microsoft.com/en-us/download/details.aspx?id=34673

Git for Windows
http://git-scm.com/download/win

MS Visual C++ Redistributable for Visual Studio 2012
http://www.microsoft.com/en-us/download/details.aspx?id=30679

wget (should be automatically loaded by the script if not available)
https://eternallybored.org/misc/wget/current/wget.exe

7-zip cli tool (should be automatically loaded by the script if not available)
http://downloads.sourceforge.net/sevenzip/7za920.zip

Prerequisites to build PHP 7.2, PHP 5.3, PHP 5.4 and PHP 5.5

PHP 5.3.x, PHP 5.4.x and PHP 5.5.x are not supported

Notes

Please note that it will also create additonal extensions:

  • php_excel.dll
  • php_lz4.dll

Read more about PHP Excel here:
https://github.com/iliaal/php_excel/ and here http://ilia.ws/files/confoo_phpexcel.pdf

Read more about LZ4 here:
https://github.com/kjdev/php-ext-lz4 and here https://code.google.com/p/lz4/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].