Windows Server 2003 R2
x64bit Processor Architecture
I have PHP and MySQL running successfully on the server, and am able to use each of them seperately, however when trying to use PHP to connect using both the mysql_* and mysqli_* libraries, I receive the error that php "Can't create TCP/IP socket (5 )". I've tried editting PATH settings, turning IIS to run worker processes in IIS 5.0 mode, adding securities to the MySQL directory, but nothing seems to work.
I need to find a solution to this, have any of you experienced and conquered it?
I would greatly appreciate any feedback, thanks in advance.
5.7 I'm installing on a 64-bit box and all I get is a 500 error page!
This just in, from Ryan Hubbard:
On 64 bit IIS loads all extensions in 64 bit mode by default. Since php5isapi.dll is 32 it freaks out but doesn’t give an errors just a 500 error on php pages. So in order to get it to work on IIS 6 64-bit you need to run the following at the command line. cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
This enables both 64 and 32 bit extensions.
Actually, that post you just quoted is erroneous, it doesn't enable -both- x64 and x86 extensions, it just switches to x86 instead of x64. When you do that and restart IIS, it will actually fail if you have ASP.NET installed on it using the .NET Framework 2.0. If you do that and it does fail, just run your Windows update and the .NET Framework will update itself a few times so that it adds a 32-bit ISAPI filter to your IIS, thereby solving the problem.
But no, that doesn't solve the problem, thanks however.