- Joined
- Mar 14, 2011
- Messages
- 436
- Reaction score
- 244
Hello,
In this tutorial I will teach you how to properly install XAMPP 1.7.7 and enable proper MSSQL support as php_mssql.dll is severely unstable. This combination is perfect for CabalToolz 4!
[*]Requirements
1. XAMPP 1.7.7 Installer -
2. VC9 -
3. php_dblib.dll -
[*]Installation
1. Install VC9 - it is required by PHP
2. Start the XAMPP 1.7.7 installer and follow the installation process.
3. Navigate to C:\XAMPP\PHP\PHP.INI and open it, then search for php_mssql.dll and make sure that you have it commented (it has to look like this ;extension=php_mssql.dll) - this means that php_mssql.dll is disabled. Below it, write this: extension=php_dblib.dll (It must be extension=php_dblib.dll without a - This enables the php_dblib module
4. Navigate to C:\XAMPP\PHP\EXT and copy the php_dblib.dll there
5. Search for php_curl.dll in the PHP.INI and uncomment it (it looks like ;php_curl.dll it has to be php_curl.dll)
6. Now your XAMPP setup is complete
7. Make a file in C:\ named freetds.conf and paste this in it (modify if it differs for you)
CabalToolz as a system itself indeed is very secure, the coding uses prepared statements, and john_d also made a custom escape string on the only two inputs out there (the logins - both main site and backend)
Although, for XAMPP you will have to do something things. Don't enable filezilla without deleting the default two accounts and please make sure to forbid access to your C:\XAMPP\HTDOCS\XAMPP folder or remove it entirely.
In this tutorial I will teach you how to properly install XAMPP 1.7.7 and enable proper MSSQL support as php_mssql.dll is severely unstable. This combination is perfect for CabalToolz 4!
[*]Requirements
1. XAMPP 1.7.7 Installer -
You must be registered to see links
2. VC9 -
You must be registered to see links
3. php_dblib.dll -
You must be registered to see links
[*]Installation
1. Install VC9 - it is required by PHP
2. Start the XAMPP 1.7.7 installer and follow the installation process.
3. Navigate to C:\XAMPP\PHP\PHP.INI and open it, then search for php_mssql.dll and make sure that you have it commented (it has to look like this ;extension=php_mssql.dll) - this means that php_mssql.dll is disabled. Below it, write this: extension=php_dblib.dll (It must be extension=php_dblib.dll without a - This enables the php_dblib module
4. Navigate to C:\XAMPP\PHP\EXT and copy the php_dblib.dll there
5. Search for php_curl.dll in the PHP.INI and uncomment it (it looks like ;php_curl.dll it has to be php_curl.dll)
6. Now your XAMPP setup is complete
7. Make a file in C:\ named freetds.conf and paste this in it (modify if it differs for you)
Code:
[global]
host = 127.0.0.1
port = 1433
client charset = UTF-8
tds version = 8.0
text size = 20971520
CabalToolz as a system itself indeed is very secure, the coding uses prepared statements, and john_d also made a custom escape string on the only two inputs out there (the logins - both main site and backend)
Although, for XAMPP you will have to do something things. Don't enable filezilla without deleting the default two accounts and please make sure to forbid access to your C:\XAMPP\HTDOCS\XAMPP folder or remove it entirely.
Last edited by a moderator: