php4ts.dll is missing from your computer

Tue, Oct 23, 2012


If you get this error you are probably trying to run apache in a windows machine and you are missing some extensions.
i’m not sure if this the correct solution for you but for my case i was trying to run mssql (not with the Microsoft Platform) but with Xampp .

Xampp does not ship with the mssql drivers in it, so i was trying to download the extension. The tricky part is that for php 5.3 the mssql driver is not the php_mssql.dll but a newer driver.

So to solve this you need to go in or search for Microsoft Drivers 3.0 for PHP for SQL Server in the Microsoft download center.
There are SQLSRV30.EXE (do not be confused by the exe extension this is only to extract your files in the desired directory).

Download it, and run it. You are going to be asked where to extract the files, so choose the directory xampp\php\ext where ever your xampp is installed. extract all files there.
Go to your php.ini file and instead of extension=php_mssql.dll put extension=php_sqlsrv_53_ts.dll in its place. Stop the apache if you havent done so already and restart it again.
that should do it!


This post was written by:

- who has written 196 posts on

Software Engineer and Web Developer, keen on new technologies and has passion for web engineering.... Internet is my job and i love it...!!! Founded Baldpixel ( on 2008 which is specialized on enginnering custom web projects while cooperating with top advertising agencies on the net.

Contact the author