INTPnerd Posted March 9, 2007 Share Posted March 9, 2007 I need to compile PHP 4.x with the OpenSSL module in WindowsXP. On this site: http://us2.php.net/openssl I found these instructions: "To use PHP's OpenSSL support you must also compile PHP --with-openssl[=DIR]." This seems like a Linux command. How do I do this in Windows XP? I have compiled PHP with Microsoft Visual C++ before, but not with any extra modules. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted March 9, 2007 Share Posted March 9, 2007 You do not need to recompile PHP in order use OpenSSL. You should of read the bit after it says to recompile PHP. Which is this bit: Note to Win32 Users: In order for this extension to work, there are DLL files that must be available to the Windows system PATH. See the FAQ titled "How do I add my PHP directory to the PATH on Windows" for information on how to do this. Although copying DLL files from the PHP folder into the Windows system directory also works (because the system directory is by default in the systems PATH), it is not recommended. This extension requires the following files to be in the PATH: libeay32.dll Quote Link to comment Share on other sites More sharing options...
INTPnerd Posted March 12, 2007 Author Share Posted March 12, 2007 This is the third time that I have been accused of not reading that entire page (twice on this forum once on another). I assure you that I have read that part about what Win32 users need to do and I have already done that. However, the way I see it, it did not say that Win32 users do not need to recompile PHP in order to get it to work. First it said that PHP needs to be compiled "--with-openssl[=DIR]", then it had a note for Win32 users. The note looks to be additional information for Win32 users as opposed to having 2 different sections, one for Win32 users and one for Linux users. Anyway, is there anyone here that has actually used OpenSSL in PHP on Win32 themselves, who would know if I need to compile PHP myself or not. If anyone knows how to compile it '--with-openssl[=DIR]', I would like to try it, as I don't know what else to try. 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.