forked from edp1096/php_screw1.5-bab2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.en
54 lines (42 loc) · 1.77 KB
/
README.en
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--------------------
php_screw
(C) 2007, Kunimasa Noda/PM9.com, Inc. <http://www.pm9.com, [email protected]>
see file LICENSE for license details
--------------------
2015-11, Robert Sung-wook Shin. ported php_screw to MS-Windows. <http://enjoytools.net, [email protected]>
--------------------
Package contents
* PHP extension sources
* Encrypt/decrypt sources
* Sources for linux platform ({VC solution dir}/z_linux)
Salt key manage: {VC solution dir}/z_key_manage/my_screw.h
Compiling condition
Tested OS's / PHP's version
MS-Windows: MS-Windows 8.1, 10 / PHP 5.6.15, 7.0.5, 7.1.0 alpha2, 7.2.0 alpha1
Linux: CentOS 6.3, 7 / PHP 5.3.3, 7.0.6
Tested Compiler
MS-Windows: Microsoft VisualStudio 2012 Express / Visual C 2012 (VC11)
(
PHP 7.0.5 - Visual C 2015 (VC14)
PHP 7.2.0 alpha1 - Visual C 2012 (VC11)
)
Linux: gcc 4.4.7, 4.8.5
More preparation
PHP
* Copy 4 folders at {VC solution dir}/include_php/php_src from php source.
- ext, main, TSRM, win32, Zend
-> Not need files/dirs in ext dir except standard, also not need {src_root}/standard/tests dir
- Copy file: {src_root}/win32/build/config.w32.h.in -> {src_root}/main/config.w32.h
* Library from php binaries(need only a file -> dev/php7ts.lib)
- {VC solution dir}/include_php_dev/php7ts.lib
Pre-define which Match MS-Visual C Compiler version with PHP runtime
: Those are just tags as identifier when PHP verifying extensions.
You can compile 7.2 with MSVC 2012(VC11).
matching MSVC version for this extension with PHP runtime compiled MSVC version is not needed.
- PHP 5.x : VC11
- PHP 7.1 : VC14
- PHP 7.2 : VC15
Please see below link when you need to check modification, references, histories.
http://enjoytools.net/xe/index.php?document_srl=2018
for php 5.3-windows-nts-x86, see php-v5.3 branch
[end of this file]