Versions Compared

Key

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

PHP install/upgrade

...

Packages to be installed 

            'PHP 7.13.7 X (x86) for IIS Express'

            'Microsoft Drivers 4.3 (x86) for PHP v7.1 3 for SQL Server in IIS'

            'Windows Cache Extension 2.0 (x86) for PHP 7.1 3 in IIS Express (Automaitcally selected when PHP is selected)

...

FieldNameDefaultSettingRequired Setting
sql.safe_modeOffOff
max_execution_time30060
error_reportingE_ALL & ~E_DEPRECATED & ~E_STRICTE_ERROR & E_WARNING
register_argc_argvOffOff
auto_globals_jitOnOn
extension_dir *"./""./"
enable_dlOffOff
cgi.force_redirect *10
fastcgi.impersonate *11
SMTPlocalhost[servername or IP address]
smtp_port25[server'ssmtp portnumber]
sendmail_from *me@example.com[administrator@acmehomessupplierconnect@yourdomainname.com.au]
odbc.defaultlrl409665536
session.auto_start00

* If a semi-colon (;)appears at the beginning of the line, it MUST be removed.

Find the Windows Extensions Extensions section at the bottom of the php.ini file

Add the following 

  • extension=php_odbc.dll

Save the php.ini file


Configure Firewall Settings

...

Modify the following lines with the DSN Name, Username and Password you used to create the ODBC Connection above. 

If the SQL password to be added contains a dollar sign ($), the double quotes " must be replaced with single quotes, e.g. "P@$$word" → 'P@$$word'

$dsn = "FworkSQLEcm";    // ODBC connection of database.

...