Product Documentation

FairCom SQL for PHP

Previous Topic

Next Topic

Install PHP 7 with the PDO Extension

This section explains how to install the PHP extensions for IIS. These procedures can be used with all recent versions of PHP: PHP 4, PHP 5, and PHP 7.

Note: It will be necessary to compile the extension, as described in Compile the sql.php.pdo Extension.

  1. Open your web browser and go to http://www.php.net/downloads.php and download the Windows Binaries zip package for the latest PHP version:


  2. Once you have downloaded the file, right-click it and extract all files.
  3. Enter C:\php as the destination, and click Extract:

  4. Open an Administrator Command Prompt, move to C:\php and copy php.ini-production (or php.ini-development) to C:\Windows\php.ini.
  5. Open C:\Windows\php.ini with a text editor such as Notepad and uncomment the extension_dir = "ext" entry:

    PHP_Ini1a
  6. Search for the extension list (you can search for ";extension"), add extension=php_pdo_ctsql.dll to the end of the list, and save and close php.ini.

  7. Now return to your Administrator Command Prompt (if you closed it, open a new one), move to C:\php\ext and copy php_pdo_ctsql.dll.

TOCIndex