Skip to content

XinicsInc/php_screw1.5-bab2

 
 

Repository files navigation

--------------------
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]

About

Port php_screw from linux to ms-windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.0%
  • Other 1.0%