Kysluss Posted March 9, 2011 Share Posted March 9, 2011 I am new to this and have never recompiled a current working build of php before. This may sound stupid, but I am at a complete loss as to what to do. What I would like to do is recompile my current version of PHP that I have. The reason I ask is that SOAP did not come enabled on the current build, and I have not found any way to get SOAP enabled other than recompiling my PHP. On this rebuild, I need mssql enabled, smtp enabled, ldap enabled, and my ini file location changed. I am running a Win Server 2k3 using IIS 6.0. I have already downloaded the correct php_soap.dll and other dlls needed and added the extension=php_soap.dll, extension=php_mssql.dll, and extension=php_ldap.dll to the current ini file. Another question I have is is would this cause any down time for the server and would I have to configure the ini file again once I do this? Attached is a copy of my ini file, just in case it helps. Would someone be willing to help me with these two problems? If someone could help me, that would be great! Thank you! [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/230139-recompiling-php-on-windows/ Share on other sites More sharing options...
trq Posted March 9, 2011 Share Posted March 9, 2011 I have already downloaded the correct php_soap.dll and other dlls needed and added the extension=php_soap.dll, extension=php_mssql.dll, and extension=php_ldap.dll to the current ini file. Then you don't need to compile anything. Place the dll's in your ext directory and add the relative entries to you ini. Restart IIS. Quote Link to comment https://forums.phpfreaks.com/topic/230139-recompiling-php-on-windows/#findComment-1185240 Share on other sites More sharing options...
Kysluss Posted March 9, 2011 Author Share Posted March 9, 2011 I have restarted IIS, but SOAP still shows as not installed. It doesn't even show up when I use the phpinfo() function still. Quote Link to comment https://forums.phpfreaks.com/topic/230139-recompiling-php-on-windows/#findComment-1185246 Share on other sites More sharing options...
trq Posted March 10, 2011 Share Posted March 10, 2011 Are you sure you've placed the dll's in the correct directory? (C:\Program Files\PHP\ext according to your ini file) Are you sure your editing the correct ini file? Have you checked IIS's logs for errors? Quote Link to comment https://forums.phpfreaks.com/topic/230139-recompiling-php-on-windows/#findComment-1185266 Share on other sites More sharing options...
Kysluss Posted March 10, 2011 Author Share Posted March 10, 2011 Everything was correct with what you had listed above. It turned out that the problem was we were using the DLLs for a different version of PHP. They were "too new." Quote Link to comment https://forums.phpfreaks.com/topic/230139-recompiling-php-on-windows/#findComment-1185675 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.