当前swoole-cli使用的php8.1,我们可以自行添加需要的扩展,或者修改指定的编译参数,自行构建自己的swoole-cli。 ## 准备构建环境 Windows 环境推荐使用 WSL2。因为swoole-cli为了统一构建路径,使用了docker构建,WSL1下docker支持不完善。 构建环境需要使用php的pecl下载扩展文件和php-cli生成构建脚本。 此外因为需要频繁下...
apc_windows_srwlock_kernel.c Remove useless $Id$s Feb 16, 2018 apc_windows_srwlock_kernel.h Remove useless $Id$s Feb 16, 2018 appveyor.yml Add PHP 8 builds to Travis and AppVeyor (#409) Nov 29, 2020 checkrel.sh refresh tests list + save 'checkrel' helper Dec 7, 2018 config.m4...
地址http://windows.php.net/downloads/pecl/releases/opcache/7.0.4/ 需要php.ini中配置 [opcache] zend_extension = d:/wamp/php/ext/php_opcache.dll opcache.enable=1 opcache.memory_consumption = 128 opcache.interned_strings_buffer = 8 opcache.max_accelerated_files = 4000 opcache.revalidate_freq =...
C:\php>php --version PHP Fatal error: PHP Startup: apc_shm_attach: shmat failed: in Unknown on line 0 The ini file just has the following ;extension=php_apcu.dll apc.enabled=1 apc.shm_size=32M apc.ttl=7200 apc.enable_cli=1 This is with P...
3 changes: 2 additions & 1 deletion3sapi/Preprocessor.php Original file line numberDiff line numberDiff line change Expand Up@@ -359,8 +359,9 @@ function addExtension(Extension $ext) $dst_dir="{$this->rootDir}/ext/{$ext->name}"; ...