PHP Version: 7.0.9 / 5.6.24
Updated: 2016-7-28
Supported OS: Windows XP/2003
Description:
Instead of patching and rebuilding the whole PHP completely, which is a complicated work, this work implements the API functions that are only available after Vista and then patches the import descriptors of the executable files.
The implemented functions are listed as follows.
DLL file | function name | ver. of nonxp.dll |
iphlpapi.dll | if_nametoindex | 0.0.1.11 |
---|---|---|
kernel32.dll | GetFinalPathNameByHandleA | 0.0.2.20 |
GetFinalPathNameByHandleW | 0.0.2.20 | |
GetTickCount64 | 0.0.1.11 | |
InitializeConditionVariable | 0.0.4.40 | |
InitializeCriticalSectionEx | 0.0.3.30 | |
SleepConditionVariableCS | 0.0.4.40 | |
WakeAllConditionVariable | 0.0.4.40 | |
WakeConditionVariable | 0.0.4.40 | |
shell32.dll | SHGetKnownFolderPath | 0.0.3.30 |
ws2_32.dll | WSASendMsg | 0.0.1.11 |
inet_ntop | 0.0.1.11 | |
inet_pton | 0.0.1.11 |
Instructions of installation:
PHP 7: the OS must install IE8 and VC14 redistributable package.
PHP 5.6: the OS must install IE8 and VC11 redistributable package.
Download links:
- PHP packages
- Patched package of PHP 7.0.9 for Windows XP/2003 (non thread safe, for IIS)
- Patched package of PHP 7.0.9 for Windows XP/2003 (thread safe, for Apache httpd)
- Patched package of PHP 5.6.24 for Windows XP/2003 (non thread safe, for IIS)
- Patched package of PHP 5.6.24 for Windows XP/2003 (thread safe, for Apache httpd)
Source code of nonxp.dll
The source code of nonxp.dll and the patch tool have been uploaded to github, php-5.6-xp-2003, according to the permission of the original author.
沒有留言:
張貼留言