WAMP SERVER - SQL SERVER 2012 ConfigurationRSS

1 reply

Last post Aug 19, 2015 02:08 PM by Rovastar

  • WAMP SERVER - SQL SERVER 2012 Configuration

    Aug 19, 2015 08:10 AM|Mohammed Fouad|LINK

    Hello ,
    I'm a beginner in php , i work on sql server 2012 and wamp server to connect a database .

    I will explain to you what i installed exactly - step by step :

    configuration :

    • ·Windows 8 64 bit
    • ·SQL SERVER EXPRESS 2012
    • ·WAMPSERVER  Version 2.5 
      • Apache 2.4.9 
      • PhP 5.5.12

    i downloaded the drivers :

    • php_pdo_sqlsrv_55_ts.dll
    • php_sqlsrv_55_ts.dll

    i modified the extensions in  php.ini 

    • extension=php_pdo_sqlsrv_54_ts.dll
    • extension=php_sqlsrv_54_ts.dll

    and i verfied these extensions in ( "c:/wamp/bin/php/php5.4.16/ext/" ) 

    i downloaded sql server native client 

    i worked on php myAdmin and it works , but when i tried to use a sql server database with a simple code ( just connect or insert into , even echo ) it does not work , this is the error ( Fatal error: Class 'sqlsrv_connect' not found )

    i dont know it's a problem of compatibility or configuration problem !!

    Help me please 



  • Rovastar Rovastar

    5468 Posts

    MVP

    Moderator

    Re: WAMP SERVER - SQL SERVER 2012 Configuration

    Aug 19, 2015 02:08 PM|Rovastar|LINK

    This is an IIS forum. You are not using IIS. You should ask on php forums, etc
    Troubleshoot IIS in style
    https://www.leansentry.com/