Closed dixyes closed 1 year ago
however, this patch is fragile, if configure.js decides to put apcu config.w32 snippet after zstd, this may not work, so it's better to do workaround in minit (maybe dlsym/GetProcAddress or using some PHP stub?)
or the most simple way: let user use a configure arg like --enable-zstd-apcu-compatible[=/path/to/apcu]
to decide whether enable this.
when do an in-tree build on win32, it will fail on configure:
PHP_DIR value is not usable during in-tree configure