Archive for the ‘MSSQL’ Category

h1

Running cakePHP on IIS

July 3, 2008

I am trying to get cakePHP 1.2 running on IIS6 with a MSSQL backend, and so far it’s going pretty well. Once I got PHP running on the server using instructions from Peter Guy, it was a simple thing to copy up the cake folder.

I tried loading up the URL for the site but only got a directory listing. To fix this, go to the permissions window of your site and then to the Documents tab. Add index.php to the default content page section and voila, it now loads without any CSS.

To enable the css, there was one more change to make. Thats was in /app/config/core.php. Just uncomment the following line:
define ('BASE_URL', env('SCRIPT_NAME'));
hit reload and Bob’s your auntie’s husband.

h1

It’s been a while

June 22, 2008

I’ve been working on other things recently so have unfortunately left this blog a little quiet. I’m going to be starting a new project shortly that will access a MS SQL database on a separate server than the webserver I will be coding on. It’s only a simple internal user management application but it should give me a few new problems that I can blog about.