stockton Posted July 17, 2010 Share Posted July 17, 2010 On my Windows XP server(32bit) I have Apache2.2 in and running and now need to add php to the mix. The php applications I already have need to access both MSSQL as well as Oracle. Please recommend what version of PHP to download and install to effect the above. Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/ Share on other sites More sharing options...
Mchl Posted July 17, 2010 Share Posted July 17, 2010 http://windows.php.net/download/ It's explained on the left Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/#findComment-1087406 Share on other sites More sharing options...
stockton Posted July 17, 2010 Author Share Posted July 17, 2010 Obviously VC6 and not VC9 but which one includes MSSQL? Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/#findComment-1087414 Share on other sites More sharing options...
Mchl Posted July 17, 2010 Share Posted July 17, 2010 All of them have mssql extension bundled. You just need to activate it after installing. Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/#findComment-1087416 Share on other sites More sharing options...
stockton Posted July 17, 2010 Author Share Posted July 17, 2010 So if I install VC6 x86 Thread Safe (2010-Mar-04 20:11:08) I should be OK? Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/#findComment-1087421 Share on other sites More sharing options...
Mchl Posted July 17, 2010 Share Posted July 17, 2010 Yes Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/#findComment-1087422 Share on other sites More sharing options...
stockton Posted July 17, 2010 Author Share Posted July 17, 2010 I installed php-5.3.2-Win32-VC6-x86.msi and now Apache will not start. No error messages that I can find and I have looked in both access.log and error.log. Where else could I look for the problem. BTW If I comment out the alterations made by the php install to my httpd.conf namely as follows #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL #PHPIniDir "C:/Program Files/PHP/" #LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL then Apache works again. Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/#findComment-1087433 Share on other sites More sharing options...
corbin Posted July 17, 2010 Share Posted July 17, 2010 Is it the VC6 thread safe version? Aside from that, assuming those are valid locations, I don't see why Apache wouldn't start. What errors do you get? Also, if you're using the old mssql_* extension, I'm not sure how easy it's going to be to get that working with a recent version of PHP. Well, it shouldn't be too bad actually, if you're using MSSQL 2000. If I remember correctly, it requires ntwdblib.dll, and MSSQL 2000 was the last version to actively use (and contain) that. You can of course download it from random places. Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/#findComment-1087548 Share on other sites More sharing options...
stockton Posted July 18, 2010 Author Share Posted July 18, 2010 The version I installed was php-5.3.2-Win32-VC6-x86.msi and I cannot find any error messages and if I comment out the PHP addition to my Apache configuration file Apache works fine. Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/#findComment-1087671 Share on other sites More sharing options...
stockton Posted July 18, 2010 Author Share Posted July 18, 2010 Now I have installed php-5.2.13-Win32-VC6-x86.msi and it works but has no MSSQL support. Quote Link to comment https://forums.phpfreaks.com/topic/208021-xp-sp2-apache-22-mssql/#findComment-1087708 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.