PHP undefined function mssql_connect and sqlsrv_connect

Posted by Damodar Bashyal on April 06, 2016


mssql_connect is now deprecated - now move to sqlsrv_connect -

ERROR: exception 'Exception' with message 'connection to mssql is not supported. Please download and follow directions from here -' in C:\_projects\technooze\app\code\local\Technooze\Schoolbrochure\Model\Mssql.php:182

For sqlsrv_connect to work download (Microsoft Drivers for PHP for SQL Server) from


How to fix node-gyp rebuild errors on windows

Posted by Damodar Bashyal on March 30, 2016


I was trying to install node module printer "npm install printer" and got few errors while trying few solutions that I found in different blogs, forums and stackoverflow sites.

I would like to share what worked for me at the end.


PHPstorm - unable to start due to xmx error

Posted by Damodar Bashyal on July 26, 2012


Today I had a issue with PHPstorm related to memory issue. It was running so slow. At one point it became unresponsive, so i was clicking continuously. Then I was asked to increase memory by increasing the value of xmx.

I increased the memory to 1024MB but still it wasn't running smooth but it was atleast running. I had increased max files to keep open to 50. So, it needed more RAM to keep up with the load, and I got the same message again to increase memory.