Installing sqlsrv on PHP 5.5.15 XAMMP won't appear in the PHP Info

General Tech Bugs & Fixes 2 years ago

0 3 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (3)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I am new to this type of thing and am getting most frustrated (As all newbies do lol)

I am trying to install the sqlsrv extension into the PHP on my XAMMP server to test some PHP to SQL database form submissions.

The first issue I have come across this that our friends at microsoft have not bothered to write sqlsrv drivers for PHP 5.5.15 at all. I have however managed to isolate the drivers recompiled for 5.5.15 by someone else. Now obviously these are unofficial but people claim they work fine.

I have put these dll files in the "ext" folder

php_pdo_sqlsrv_55_nts.dll

php_pdo_sqlsrv_55_ts.dll

php_sqlsrv_55_nts.dll

php_sqlsrv_55_ts.dll

and added the file names to the php.ini at the end of the "Windows Extensions" list.

When I start up my XAMMP Server it starts fine but when I click on PHP info section they do not appear as they apparently should there.

Any help would be hugely appreciated!

Thanks in advance!

profilepic.png
manpreet 2 years ago

Did you try editing php.ini and adding this code?

For the non thread safe version of PHP:

extension=php_pdo_sqlsrv_55_nts.dll
extension=php_sqlsrv_55_nts.dll 

For the thread safe version of PHP:

extension=php_pdo_sqlsrv_55_ts.dll   
extension=php_sqlsrv_55_ts.dll  

0 views   0 shares

profilepic.png
manpreet 2 years ago

Did you try editing php.ini and adding this code?

For the non thread safe version of PHP:

extension=php_pdo_sqlsrv_55_nts.dll
extension=php_sqlsrv_55_nts.dll 

For the thread safe version of PHP:

extension=php_pdo_sqlsrv_55_ts.dll   
extension=php_sqlsrv_55_ts.dll  

0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

tuteehub community

Join Our Community Today

Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.

tuteehub community