Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7670787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:54:12+00:00 2026-05-31T15:54:12+00:00

I am running both, MAMP and Zend Server CE. I just installed the Zend

  • 0

I am running both, MAMP and Zend Server CE. I just installed the Zend Server because I read here: http://www.jesusomar.com/2011/07/22/mamp-php-and-mssql that it supports SQL Server out of the box. I did have to enable the extension and restart PHP of course.

I have been looking into compiling the necessary driver for MAMP. I hit a roadblock here (directions I have for this: http://www.tumblr.com/tagged/mssql+mamp+php+mac+osx) where the compile fails for PHP 5.3.5 and 5.3.6. You can see that issue here: https://stackoverflow.com/questions/9675906/compile-error-for-php-mssql. I have not tried other versions yet.

Anyway, no matter what, I get an error:

could not find driver

Here is the offending line in my code:

new PDO( "sqlsrv:server=".$myServer.";Database=FormScript");

You can see I am using the sqlsrv driver. I took another look at MAMP and Zend and realized that neither of them contain the driver. In my Zend instance, I do have MSSQL Support enabled. I checked in phpinfo(). I thought perhaps I could simply change my driver then:

new PDO( "mssql:server=".$myServer.";Database=FormScript");

I still get the same error:

could not find driver

I find this a bit odd. Anyway, any ideas on what I’m missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:54:13+00:00Added an answer on May 31, 2026 at 3:54 pm

    I addressed this by using Zend Server CE and enabling the driver

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If web application and SQL Server are on different machines(both running Windows) on intranet,
I have an ASP.NET web service running that accepts both HTTP POST and SOAP
I have both apache and mySQL running with the default MAMP ports (8888 and
I'm using expressjs with node and running both https and http. I want to
I'm managing a co-located winserver08 box running both IIS and SQL 08 express. I
This works on the iPhone BTW (Both running iOS 5.1) My app freezes when
I got a strange behavior on 2 similar machines, both running ubuntu 10.04 amd64.
I'm running Powershell in both Windows 2003 and Windows 2008 and both are running
I'm getting the following error when running warble under both jRuby 1.3 and 1.4.
I have two development sites call api.localhost and game.localhost . Both are running from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.