Port php_screw from linux to ms-windows
C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
include_php
php_screw
tools_descrew
tools_screw
z_key_manage
z_linux
z_php_script
zz_compiled_sample
.gitattributes
LICENSE
README.en
README.kr
README_Folders.en
README_Folders.kr
php_screw1.5-bab2.sln

README.en

--------------------
php_screw
(C) 2007, Kunimasa Noda/PM9.com, Inc. <http://www.pm9.com, kuni@pm9.com>
see file LICENSE for license details
--------------------
2015-11, Robert Sung-wook Shin. ported php_screw to MS-Windows. <http://enjoytools.net, edp1096@naver.com>
--------------------

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

[end of this file]