Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open Windows Explorer.
  2. Browse to: [fw folder]\Setup\Database - MSSQL\Microsoft SQL Server Driver for PHP\
  3. Double-click the setup file. The Microsoft SQL Server Driver for PHP installation will begin.
  4. Click the Yes The File Extraction step will be displayed.
  5. Enter a location to extract the files (e.g., C:\phpext\). If the folder does not exist, confirm the folder creation. The files will be extracted.
  6. Browse to the extracted file location (e.g., C:\phpext\).
  7. Copy the following files:
    • php_sqlsrv.dll
    • php_sqlsrv_ts.dll
  8. Browse to: C:\php\ext\
  9. Paste the files into the C:\php\ext\ folder.

...


  1. After pasting the files, the location of the extracted files can be safely deleted

...

Step 4 - PHP Configuration

  1. Open Windows Explorer.
  2. Browse to the location of the ini file (typically: C:\php\).
  3. Edit the ini file.
  4. Update the following settings:

...

The following default settings may be different to those listed depending on the PHP version (the following is based on PHP 5.3.xx).

Field NameDefault SettingRequired Setting
safe_modeOffOff
max_execution_time3060
error_reporting **E_ALLE_ERROR & E_WARNING
register_globalsOffOff
register_long_arraysOffOff
register_argc_argvOffOff
auto_globals_jitOnOn
magic_quotes_gpcOffOff
extension_dir"./""C:\php\ext"
enable_dlOnOff
cgi.force_redirect *10
fastcgi.impersonate *11
SMTPlocalhost[server name or IP address]
smtp_port25[server's smtp port number]
sendmail_from *me@example.com[administrator@acmehomes.com.au]
odbc.defaultlrl409665536
session.auto_start00
* If a semi-colon (;) appears at the beginning of the line, users MUST remove it.
** Ensure the uncommented error_reporting field (with no semi-colon (;)) and not the commented ;error_reporting field (with semi-colon (;)) is updated.

...

  1. Open Data Sources (ODBC).
  2. Select the System DSN
  3. Click the Add The Create New Data Source dialog will be displayed.
  4. Select SQL Native Client for the SQL Server version being used.
  5. Click the Finish The Create a New Data Source to SQL Server dialog will be displayed.
  6. Enter the following details:
    1. Name: FworkSQLECM
    2. Description (optional): Enter a description for the database connection. For example, Framework ECM.
    3. Server: Select the SQL Server from the Server drop-down list.
      OR
      Enter the SQL Server name.

      Info


      If there is an error following Step 8, change the server name above to: \[server name]\SQLEXPRESS


  7. Click the Next
  8. Click the Next
  9. Tick Change the default database to.
  10. From the drop-down list select: FworkSQLEcm
  11. Click the Next
  12. Click the Finish The ODBC Microsoft SQL Server Setup dialog will be displayed.
  13. Click the Test Data Source...
  14. If successful, click the OK
  15. Click the OK The ODBC Microsoft SQL Server Setup dialog will close.
  16. Click the OK The Data Sources (ODBC) dialog will close.

...

  1. Open Data Sources (ODBC).
  2. Select the System DSN tab.
  3. Click the Add button. The Create New Data Source dialog will be displayed.
  4. Select SQL Native Client.
  5. Click the Finish button. The Create a New Data Source to SQL Server dialog will be displayed.
  6. Enter the following details:
    1. Name: FworkSQLLic
    2. Description (optional): Enter a description for the database connection. For example, Framework Licence.
    3. Server: Select the SQL Server from the Server drop-down list.
      OR
      Enter the SQL Server name.

      info



      If there is an error following Step 8, change the server name above to: \[server name]\SQLEXPRESS


  7. Click the Next button.
  8. Click the Next button.
  9. Tick Change the default database to.
  10. From the drop-down list select: FworkSQLLic
  11. Click the Next button.
  12. Click the Finish button. The ODBC Microsoft SQL Server Setup dialog will be displayed.
  13. Click the Test Data Source... button.
  14. If successful, click the OK button.
  15. Click the OK button. The ODBC Microsoft SQL Server Setup dialog will close.
  16. Click the OK button. The Data Sources (ODBC) dialog will close.

...