I have now got found the solution to this problem, but thought I would share my experiences as doing a google search for this title shows up nothing but cake source code.
I got the error message "PHP SQL Server interface is not installed" when trying to bake model for a SQL Server database. My setup is as follows: * Windows XP * SQL Server Express 2005 * Wamp Server 2.0 (PHP 5.2.5) Going through the Wamp server interface, I had enabled the php_mssql extension and could call such functions as mssql_connect in a php page on localhost through my web browser. However running "cake bake" in a DOS window, then trying to create a model gave the above error. The problem is that there are two php.ini files that come with Wamp server. One in the apache directory (C:\Program Files\wamp\bin\apache \apache2.2.8\bin\php.ini), which the web browser and Wamp server interface use. The other is in the php directory (C:\Program Files \wamp\bin\php\php5.2.5\php.ini) which the command line interface of php uses. You need to uncomment the line in the php5.2.5\php.ini file that has "extension=php_mssql.dll" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
