wikiterra Posted April 24, 2008 Share Posted April 24, 2008 Hello all, I'm doing something something crazy--I need to use PHP on a Windows 2003 Server with IIS (I can't use apache). I also need openssl enabled, which means I have to build from source. Unfortunately I'm running into problems. I followed the quick guide instructions at http://us.php.net/manual/en/install.windows.building.php. I chose --enable-isapi so I can use it with IIS and I chose --enable-openssl (like it says at http://us.php.net/manual/en/openssl.installation.php), although I'm not sure which directory to give it. When running nmake I get an error that I don't understand, whether or not I use --enable-openssl...also do I need to choose things like --enable-ldap in order to have ldap functions available? Does anyone have any idea of what I can do to get this working? Thanks, Jonathan ==== C:\work\php-5.2.5>cscript /nologo configure.js --disable-all --enable-cli --enable-cgi --enable-object-out-dir=.. --disable-ipv6 --enable-isapi --with-openssl Saving configure options to config.nice.bat Checking for cl.exe ... <in default path> Checking for cl.exe ... <in default path> Detected MS compiler version 15 Detected 32-bit compiler Checking for link.exe ... C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN Checking for nmake.exe ... <in default path> Checking for lib.exe ... <in default path> Checking for bison.exe ... <in default path> Checking for flex.exe ... <in default path> Checking for re2c.exe ... <not found> Checking for zip.exe ... <not found> Checking for lemon.exe ... <not found> Checking for mc.exe ... <not found> Checking for mt.exe ... C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin Checking for arpa\nameser.h ... ..\win32build\include Checking for library resolv.lib ... ..\win32build\lib\resolv.lib Build dir: ..\Release_TS PHP Core: php5ts.dll and php5ts.lib Checking for NewAPIs.h ... <not found> Checking for NewAPIs.h ... <not found> Enabling SAPI sapi\cgi Enabling SAPI sapi\cli Enabling SAPI sapi\isapi Enabling extension ext\date Checking for library ssleay32.lib ... <not found> Enabling extension ext\pcre Checking for timelib_config.h ... ext/date/lib Enabling extension ext\standard Creating build dirs... Generating files... Generating Makefile Generating main/internal_functions.c [content unchanged; skipping] Generating main/config.w32.h Done. Type 'nmake' to build PHP C:\work\php-5.2.5>nmake Microsoft ® Program Maintenance Utility Version 9.00.21022.08 Copyright © Microsoft Corporation. All rights reserved. type ext\pcre\php_pcre.def > ..\Release_TS\php5ts.dll.def "" -h win32\ -r ..\Release_TS\ -x ..\Release_TS\ win32\build\wsyslog.mc '-h' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: '"' : return code '0x1' Stop. C:\work\php-5.2.5> ===== Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.