-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAPI embed Support on Windows #442
Comments
The main reason is that I'm not very good at Windows OS build and Visual Studio and currently I mainly update Linux and macOS. Windows maintenance will be slower. For embed SAPI on Windows, it would be great if someone could initiate a PR or guidance for us to start. |
可以借助 MSYS2 环境 和 CMD 环境 进行构建
msys2 环境下载软件
CMD 环境 安装VisualStudio
cd c:\msys64\home\Administrator\
VisualStudioSetup.exe ^
--locale en-US ^
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^
--add Microsoft.Component.MSBuild ^
--add Microsoft.VisualStudio.Component.Roslyn.Compiler ^
--add Microsoft.Component.MSBuild ^
--add Microsoft.VisualStudio.Component.CoreBuildTools ^
--add Microsoft.VisualStudio.Workload.MSBuildTools ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22000 ^
--add Microsoft.VisualStudio.Component.Windows10SDK.20348 ^
--add Microsoft.VisualStudio.Component.Windows10SDK ^
--passive --force --norestart CMD 环境 编译构建cd c:\msys64\home\Administrator\php-sdk-binary-tools
phpsdk-vs17-x64.bat
cd c:\msys64\home\Administrator\php-src
buildconf
configure --help
configure --disable-all --enable-cli --enable-static=yes --enable-shared=no
nmake
x64\Release_TS\php.exe -v
x64\Release_TS\php.exe -m
参考文档 |
I've noticed that
embed SAPI
on Win is on TODO list. However, its 4 mouths ago. What are the current bottlenecks encountered with this feature? What is the current implementation plan? What attempts have been made? Any guidance information beyond that?The text was updated successfully, but these errors were encountered: