php - 更改 PHP 编译
问题描述
我尝试在我的 xampp 服务器上安装 V8JS,但发生错误。我搜索了VC11没有找到扩展版本
Warning: PHP Startup: v8js: Unable to initialize module
Module compiled with build ID=API20131226,TS,VC12
PHP compiled with build ID=API20131226,TS,VC11
These options need to match
in Unknown on line 0
如何让我的 PHP 编译成 VC12?
我当前的设置
System Windows NT DESKTOP-HPGI9H9 6.2 build 9200 (Windows 8 Home Premium Edition) i586
Build Date Oct 29 2015 12:34:05
Compiler MSVC11 (Visual C++ 2012)
Architecture x86
Apache Version Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.15
XAMPP v3.2.2
解决方案
这解决了问题。它只是用 Xampp 文件替换这些文件: https ://github.com/maryo/php-5.6.13-win32-VC12
推荐阅读
- cesium - Cesiumjs 粒子系统混合
- google-maps - 是否可以根据距离通过多个预设位置创建路线规划地图?
- javascript - 有没有办法错开 React Hooks?
- asp.net-core - 用于具有单个回调 url 的多租户应用程序的 ASP.NET Core Google Auth?
- entity - 如何在 asciidoctor 中命名实体?
- javascript - 回调队列(调试器)里面有什么?
- c++ - Q3DBars 在垂直墙上有网格,如何?
- git - 在 Git Fork 中找不到命令
- java - 如何为 SAP Business Objects Java SDK 设置 Eclipse 项目
- python - 不同颜色的单元格具有相同的 bgColor 值