Sunday, February 7, 2010

Cannot Connect PHP to MSSQL 2005

Using xampp for the development.
Got new task of having to use MSSQL 2005 server to get the data from using PHP.

After googling around then finally got it working.
 Basically I got it working using the console.

This is what to do for it to get working.
1. Download the latest ntwdblib.dll from Miscrotf ... just google it.
2.Copy the ntwdblib.dll  \PHP\, \window\system32\, \apache\bin\
3. restart the apache service.

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...