The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> PHP Development
|
PHP Version 5.4.0 and MSSQL
Discuss PHP Version 5.4.0 and MSSQL in the PHP Development forum on Dev Shed. PHP Version 5.4.0 and MSSQL PHP Development forum discussing coding practices, tips on PHP, and other PHP-related topics. PHP is an open source scripting language that has taken the web development industry by storm.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

April 20th, 2012, 12:47 AM
|
 |
Contributing User
|
|
Join Date: Apr 2003
Location: SA, Centurion
Posts: 354
Time spent in forums: 1 Day 14 h 18 m 11 sec
Reputation Power: 11
|
|
|
PHP Version 5.4.0 and MSSQL
HI,
I've upgraded from PHP version 5.2 to PHP version 5.4 and are not able to load / find mssql extension ?
How do I use MSSQL in version 5.4 ??
Is MSSQL not supported in this version or am I (hopingly) missing something ???
Regards
Dieter
__________________
 :P
|

April 20th, 2012, 01:38 AM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
|
It's not "mssql" anymore. You have to find the SQLSRV extension (as published by Microsoft) but I'm not sure if it works for 5.4 yet.
|

April 20th, 2012, 02:49 AM
|
 |
Contributing User
|
|
Join Date: Apr 2003
Location: SA, Centurion
Posts: 354
Time spent in forums: 1 Day 14 h 18 m 11 sec
Reputation Power: 11
|
|
Quote: | Originally Posted by requinix It's not "mssql" anymore. You have to find the SQLSRV extension (as published by Microsoft) but I'm not sure if it works for 5.4 yet. |
Thanks, will go back to version 5.2
|

April 20th, 2012, 03:18 AM
|
 |
Square Peg in a Round Hole
|
|
Join Date: Oct 2007
Location: North Yorkshire, UK
|
|
|

January 9th, 2013, 04:38 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 3
Time spent in forums: 30 m 31 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by Dieter HI,
I've upgraded from PHP version 5.2 to PHP version 5.4 and are not able to load / find mssql extension ?
How do I use MSSQL in version 5.4 ??
Is MSSQL not supported in this version or am I (hopingly) missing something ???
Regards
Dieter | You need use FreeTDS library. Its simple. Reffer link: ht tp://docs.moodle.org/24/en/Installing_MSSQL_for_PHP
But library php_dblib.dll for php 5.4 I not found.
I compiled it. You may download it here: ht tp://inethub.olvi.net.ua/ftp/pub/soft/programming/php/ms%20sql%20driver%20for%20%20php%205.4.10/
Its compiled with VC9 with nts.
|

January 9th, 2013, 12:40 PM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
|
I checked: SQLSRV 3.0.1 (released a bit before this thread was started) supports PHP 5.4 so I myself would just go with that.
|

January 9th, 2013, 03:12 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 3
Time spent in forums: 30 m 31 sec
Reputation Power: 0
|
|
|
But! You need install Microsoft Native Client, and other people says: 3.0 drivers work ONLY with MS SQL 2012. Its true?
|

January 9th, 2013, 03:48 PM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
|
True. Meanwhile (as far as I can tell) FreeTDS requires the .NET Framework 1.1.
But it does support SQL Server <2008 and does work on Linux so there's that in its favor.
|

January 9th, 2013, 04:24 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 3
Time spent in forums: 30 m 31 sec
Reputation Power: 0
|
|
|
No. Its work on Windows too. And work with MS SQL 2012 EXPRESS EDITION for me. I use PHP 5.4.10.
ADD: And its don't need rewrite mssql_* functions to sqlsrv_*.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|