Php/docs/migration74.windows-support
Windows 支持
configure flags
configure 命令现在支持 CFLAGS
和 LDFLAGS
环境变量。
CTRL handling
CTRL+C and CTRL+BREAK on console can be caught by setting a handler function with sapi_windows_set_ctrl_handler().
proc_open() on Windows can be passed a "create_process_group" option. It is required if the child process is supposed to handle CTRL events.
OPcache
OPcache now supports an arbitrary number of separate caches per user via the
the INI directive opcache.cache_id
.
All processes with the same cache ID and user share an OPcache instance.
stat
The stat implementation has been refactored.
- An inode number is delivered and is based on the NTFS file index.
- The device number is now based on the volume serial number.
Note that both values are derived from the system and provided as-is on 64-bit systems. On 32-bit systems, these values might overflow the 32-bit integer in PHP, so they're fake.
libsqlite3
libsqlite3 is no longer compiled statically into php_sqlite3.dll
and php_pdo_sqlite.dll
, but rather available as libsqlite3.dll
.
Refer to the installation instructions for SQLite3 and
PDO_SQLITE, respectively.