Web Hosting Talk







View Full Version : How do I compile PHP on Windows?


Atomic Haven
05-03-2005, 02:12 PM
Can someone point me in the direction of a tutorial on how to compile PHP on windows with MSSQL functionality? Thanks!

stormraven
05-03-2005, 02:16 PM
You don't have to recompile, you just have to enable the MSSQL functionality in php.ini - and put the proper DLL files (not sure which ones they are) where Windows can find them to load.

Atomic Haven
05-03-2005, 02:26 PM
I did that, but it doesn't seem to work, I've attached my PHP.ini file, if you can see if I've done anything wrong. Server 2003 doesn't report that PHP couldn't find it.

GrindKore
05-03-2005, 02:39 PM
Are you trying to access MSSQL server from PHP? Or are you having problems with php_mssql.dll extensions?

Make sure that "extension=php_mssql.dll" line in php.ini is uncommented.

stormraven
05-03-2005, 02:42 PM
What I always do is create a PHP file that contains only this..

<?php phpinfo(); ?>

and call it test.php - put it where you can see it with a browser.

Load it up with a browser and it'll tell you if you're all good to go or not.

Good luck!

stormraven
05-03-2005, 02:44 PM
Also, GrindKore has a point - you don't need the mssql specific extensions if you're only going to use the ODBC drivers to talk to MSSQL.