RE: PHP version changer
01-29-2021, 05:35 AM
(This post was last modified: 01-29-2021, 05:41 AM by ccr1969.)
I've been trying to build SNUFFLEUPAGUS on windows but i Haven't had any luck anyone know if this is possible ?
This is line 6002-6012
Code:
C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src\configure.js(6012, 1) Microsoft JScript runtime error: 'PHP_SNUFFLEUPAGUS' is undefined
Code:
configure_module_dirname = condense_path(FSO.GetParentFolderName('C:\\php-sdk\\php-dev\\vc15\\x64\\php-7.3.26-src\\ext\\snuffleupagus-master\\config.w32'));
// $Id$
// vim:ft=javascript
// If your extension references something external, use /* ARG_WITH
// ARG_WITH("snuffleupagus", "for snuffleupagus support", "no"); */
// Otherwise, use /* ARG_ENABLE
// ARG_ENABLE("snuffleupagus", "enable snuffleupagus support", "no"); */
if (PHP_SNUFFLEUPAGUS != "no") {
EXTENSION("snuffleupagus", "snuffleupagus.c", PHP_EXTNAME_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
}
Code:
C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src
$ configure
PHP Version: 7.3.26
Saving configure options to config.nice.bat
Checking for cl.exe ... <in default path>
Detected compiler MSVC15 (Visual C++ 2017)
Detected 64-bit compiler
Checking for link.exe ... <in default path>
Checking for nmake.exe ... <in default path>
Checking for lib.exe ... <in default path>
Checking for bison.exe ... <in default path>
Detected bison version 3.3.2
Checking for sed.exe ... <in default path>
Checking for re2c.exe ... <in default path>
Detected re2c version 0.13.5
Checking for zip.exe ... <in default path>
Checking for lemon.exe ... <in default path>
Checking for 7za.exe ... <in default path>
Checking for mc.exe ... C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
Checking for mt.exe ... C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
Enabling multi process build
Build dir: C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src\x64\Release_TS
PHP Core: php7ts.dll and php7ts.lib
Checking for wspiapi.h ... <in default path>
Enabling IPv6 support
Enabling SAPI sapi\cgi
Enabling SAPI sapi\cli
Checking for library edit_a.lib;edit.lib ... <in deps path> \lib\edit_a.lib
Checking for editline/readline.h ... <in deps path> \include
Enabling extension ext\bcmath
Enabling extension ext\calendar
Checking for library oleaut32.lib ... <in LIB path> OleAut32.Lib
Enabling extension ext\com_dotnet
Checking for mscoree.h ... <not found>
Checking for mscoree.h ... <not found>
Enabling extension ext\ctype
Enabling extension ext\date
Enabling extension ext\filter
Checking for library libjpeg_a.lib;libjpeg.lib ... <in deps path> \lib\libjpeg_a.lib
Checking for library freetype_a.lib;freetype.lib ... <in deps path> \lib\freetype_a.lib
Checking for ft2build.h ... <in deps path> \include\freetype2
Checking for library libpng_a.lib;libpng.lib ... <in deps path> \lib\libpng_a.lib
Checking for gd.h ... ext\gd\libgd
Checking for png.h ... <in deps path> \include\libpng16
Checking for library libiconv_a.lib;libiconv.lib ... <in deps path> \lib\libiconv_a.lib
Checking for iconv.h ... <in deps path> \include
Checking for library libXpm_a.lib ... <in deps path> \lib\libxpm_a.lib
Checking for xpm.h ... <in deps path> \include\X11
Checking for library libwebp_a.lib ... <in deps path> \lib\libwebp_a.lib
Checking for decode.h ... <in deps path> \include\webp
Checking for encode.h ... <in deps path> \include\webp
Checking for library User32.lib ... <in LIB path> User32.Lib
Checking for library Gdi32.lib ... <in LIB path> Gdi32.Lib
Enabling extension ext\gd [shared]
Checking for KeccakHash.h ... ext/hash/sha3/generic64lc
Enabling extension ext\hash
Checking for library libiconv_a.lib ... <in deps path> \lib\libiconv_a.lib
Checking for iconv.h ... <in deps path> \include
Enabling extension ext\iconv
Enabling extension ext\json
Checking for library ws2_32.lib ... <in LIB path> WS2_32.Lib
Enabling extension ext\mysqlnd
Checking for zlib.h ... <in deps path> \include
Enabling extension ext\opcache [shared]
Enabling extension ext\pcre
Checking for library edit_a.lib;edit.lib ... <in deps path> \lib\edit_a.lib
Checking for editline/readline.h ... <in deps path> \include
Enabling extension ext\readline
Enabling extension ext\reflection
Enabling extension ext\session
C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src\configure.js(6012, 1) Microsoft JScript runtime error: 'PHP_SNUFFLEUPAGUS' is
undefined
C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src
$