builder->getLib('openssl')) { $arg .= ' --with-event-openssl=' . BUILD_ROOT_PATH; } if ($this->builder->getExt('sockets')) { $arg .= ' --enable-event-sockets'; } else { $arg .= ' --disable-event-sockets'; } return $arg; } /** * @throws FileSystemException */ public function patchBeforeConfigure(): bool { FileSystem::replaceFile( SOURCE_PATH . '/php-src/configure', REPLACE_FILE_PREG, '/-levent_openssl/', $this->getLibFilesString() ); return true; } }