trouble installing SQL Database extensions with php 5.3.10

(4 posts) (3 voices)

Tags:

No tags yet.

  1. inforsystems, Member

    Hello, I am confused from what I have read about php 5.3.10 mssql is not used any more and sqlsvr is used instead

    my environment is
    windows 7 32-bit
    apache 2.2
    php 5.3.10 thread safe
    sql server 2005 on another machine

    I have in my php.ini file
    extension=php_sqlsrv_52_ts_vc9.dll

    so I am not sure what the error below is telling me
    have I missed some step?

    Checking PHP Version
    OK
    PHP version 5.3.10 found.
    Checking Database PHP Extensions
    Failed
    Either PHP extension mysql or mssql must be installed.

    Is there some place that will tell me a little more information?
    Thank you

  2. myDBR Team, Key Master

    PHP has couple of ways talking to SQL Server in Windows environment: the mssql-extension using FreeTDS (implemented in php_dblib.dll) and Microsoft's own php_sqlsrv. myDBR uses mssql-extension as it is supported in multiple platforms whereas php_sqlsrv is Windows only. (There was also an old mssql-extension php_msssql, which is no longer supported.)

    To get myDBR talking to SQL Server you need to install the php_dblib.dll extension and enable it in your php.ini. If your setup does not have php_dblib.dll included you can download it from Moodle's website.

    --
    myDBR Team

  3. Hello,

    I have similar situation, Downloaded the php_dblib.dll from moodle's site and placed in ext directory, included in php.ini and restarted IIS. it still says:

    Failed
    Either PHP extension mysql or mssql must be installed.

    Any help?

  4. myDBR Team, Key Master

    Check the web server / PHP error log for any errors.

    You should see mssql-section in phpinfo after an successful installation.

    --
    myDBR Team


Reply

You must log in to post.