Skip to content

Commit 5d7cb25

Browse files
committed
Fix H2s in PHP install
Fix RedHat -> Red Hat Fix English download links
1 parent 338741a commit 5d7cb25

8 files changed

Lines changed: 46 additions & 42 deletions

docs/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Version 9.2 is the latest general availability (GA) version. It supports Java 8,
3030
When you download the driver, there are multiple JAR files. The name of the JAR file indicates the version of Java that it supports.
3131

3232
> [!Note]
33-
> If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the [US-English version of the site](). You can download different languages from the US-English version site by selecting [available languages](#available-languages).
33+
> If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the [US-English version of the site](https://aka.ms/downloadmssqljdbcenglish). You can download different languages from the US-English version site by selecting [available languages](#available-languages).
3434
3535
## Available languages
3636

docs/connect/odbc/download-odbc-driver-for-sql-server.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.author: v-daenge
1414

1515
# Download ODBC Driver for SQL Server
1616

17-
[!INCLUDE[SQL Server Azure SQL Database Synapse Analytics PDW ](../../includes/applies-to-version/sql-asdb-asdbmi-asa-pdw.md)]
17+
[!INCLUDE[SQL Server Azure SQL Database Synapse Analytics PDW](../../includes/applies-to-version/sql-asdb-asdbmi-asa-pdw.md)]
1818

1919
Microsoft ODBC Driver for SQL Server is a single dynamic-link library (DLL) containing run-time support for applications using native-code APIs to connect to SQL Server. Use Microsoft ODBC Driver 17 for SQL Server to create new applications or enhance existing applications that need to take advantage of newer SQL Server features.
2020

@@ -33,7 +33,7 @@ Version 17.7.2 is the latest general availability (GA) version. If you have a pr
3333
- Released: March 10, 2021
3434

3535
> [!Note]
36-
> If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the [US-English version of the site](). You can download different languages from the US-English version site by selecting [available languages](#available-languages).
36+
> If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the [US-English version of the site](https://aka.ms/downloadmsodbcsqlenglish). You can download different languages from the US-English version site by selecting [available languages](#available-languages).
3737
3838
## Available languages
3939

@@ -80,11 +80,11 @@ If you need to download the packages for offline installation, all versions are
8080
- [Debian 8 .deb packages](https://packages.microsoft.com/debian/8/prod/pool/main/m/msodbcsql17/)
8181
- [Debian 8 .deb packages (msodbcsql 13.x)](https://packages.microsoft.com/debian/8/prod/pool/main/m/msodbcsql/)
8282

83-
### RedHat
83+
### Red Hat
8484

85-
- [RedHat 8 .rpm packages](https://packages.microsoft.com/rhel/8/prod/)
86-
- [RedHat 7 .rpm packages](https://packages.microsoft.com/rhel/7/prod/)
87-
- [RedHat 6 .rpm packages](https://packages.microsoft.com/rhel/6/prod/)
85+
- [Red Hat 8 .rpm packages](https://packages.microsoft.com/rhel/8/prod/)
86+
- [Red Hat 7 .rpm packages](https://packages.microsoft.com/rhel/7/prod/)
87+
- [Red Hat 6 .rpm packages](https://packages.microsoft.com/rhel/6/prod/)
8888

8989
### Suse
9090

docs/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@ sudo su
9999
#Download appropriate package for the OS version
100100
#Choose only ONE of the following, corresponding to your OS version
101101

102-
#RedHat Enterprise Server 6
102+
#Red Hat Enterprise Server 6
103103
curl https://packages.microsoft.com/config/rhel/6/prod.repo > /etc/yum.repos.d/mssql-release.repo
104104

105-
#RedHat Enterprise Server 7 and Oracle Linux 7
105+
#Red Hat Enterprise Server 7 and Oracle Linux 7
106106
curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo
107107

108-
#RedHat Enterprise Server 8 and Oracle Linux 8
108+
#Red Hat Enterprise Server 8 and Oracle Linux 8
109109
curl https://packages.microsoft.com/config/rhel/8/prod.repo > /etc/yum.repos.d/mssql-release.repo
110110

111111
exit
@@ -219,7 +219,7 @@ source ~/.bashrc
219219
sudo apt-get install unixodbc-dev
220220
```
221221

222-
### RedHat Enterprise Server 6
222+
### Red Hat Enterprise Server 6
223223

224224
```bash
225225
sudo su
@@ -235,7 +235,7 @@ source ~/.bashrc
235235
sudo yum install unixODBC-devel
236236
```
237237

238-
### RedHat Enterprise Server 7
238+
### Red Hat Enterprise Server 7
239239

240240
```bash
241241
sudo su
@@ -336,7 +336,7 @@ sudo apt-get install unixodbc-dev
336336

337337
The following sections explain how to install the Microsoft ODBC driver 13 from the bash shell for different Linux distributions.
338338

339-
### RedHat Enterprise Server 6
339+
### Red Hat Enterprise Server 6
340340

341341
```bash
342342
sudo su
@@ -351,7 +351,7 @@ ln -sfn /opt/mssql-tools/bin/sqlcmd-13.0.1.0 /usr/bin/sqlcmd
351351
ln -sfn /opt/mssql-tools/bin/bcp-13.0.1.0 /usr/bin/bcp
352352
```
353353

354-
### RedHat Enterprise Server 7
354+
### Red Hat Enterprise Server 7
355355

356356
```bash
357357
sudo su
@@ -416,11 +416,11 @@ If you prefer/require the [!INCLUDE[msCoName](../../../includes/msconame_md.md)]
416416
- Red Hat: ```glibc, e2fsprogs, krb5-libs, openssl, unixODBC```
417417
- SUSE: ```glibc, libuuid1, krb5, openssl, unixODBC```
418418

419-
Each of these packages in turn has their own dependencies, which may or may not be present on the system. For a general solution to this issue, refer to your distribution's package manager documentation: [Redhat](https://wiki.centos.org/HowTos/CreateLocalRepos), [Ubuntu](https://unix.stackexchange.com/questions/87130/how-to-quickly-create-a-local-apt-repository-for-random-packages-using-a-debian), and [SUSE](https://en.opensuse.org/Portal:Zypper)
419+
Each of these packages in turn has their own dependencies, which may or may not be present on the system. For a general solution to this issue, refer to your distribution's package manager documentation: [Red Hat](https://wiki.centos.org/HowTos/CreateLocalRepos), [Ubuntu](https://unix.stackexchange.com/questions/87130/how-to-quickly-create-a-local-apt-repository-for-random-packages-using-a-debian), and [SUSE](https://en.opensuse.org/Portal:Zypper)
420420

421421
It is also common to manually download all the dependent packages and place them together on the installation computer, then manually install each package in turn, finishing with the [!INCLUDE[msCoName](../../../includes/msconame_md.md)] ODBC Driver 13 package.
422422

423-
#### Redhat Linux Enterprise Server 7
423+
#### Red Hat Linux Enterprise Server 7
424424

425425
- Download the latest `msodbcsql` `.rpm` from [https://packages.microsoft.com/rhel/7/prod/](https://packages.microsoft.com/rhel/7/prod/).
426426
- Install dependencies and the driver.

docs/connect/odbc/linux-mac/release-notes-odbc-sql-server-linux-mac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ ODBC Driver 13.1 for [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)
178178
OS X 10.11 and macOS 10.12 are supported in the first release of the ODBC Driver on macOS. Ubuntu 16.10 is now also supported, along with Red Hat 6, 7, and SUSE 12. Each platform has a platform-relevant package (RPM or DEB) to ease installation and configuration. For more information, see the ODBC driver installation instructions for [Linux](../../../connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md)
179179
and [macOS](../../../connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos.md).
180180

181-
**unixODBC Driver Manager 2.3.1 Support Changes**: The ODBC driver no longer depends on custom packaging for the unixODBC driver manager (except on RedHat 6), and instead relies on the distribution package manager to resolve the UnixODBC dependency from the distribution's repositories.
181+
**unixODBC Driver Manager 2.3.1 Support Changes**: The ODBC driver no longer depends on custom packaging for the unixODBC driver manager (except on Red Hat 6), and instead relies on the distribution package manager to resolve the UnixODBC dependency from the distribution's repositories.
182182

183183
**BCP API Support**: The Linux and macOS ODBC driver now supports the use of the [BCP API functions (**bcp_init**, etc.)](../../../relational-databases/native-client-odbc-extensions-bulk-copy-functions/sql-server-driver-extensions-bulk-copy-functions.md)
184184

docs/connect/odbc/linux-mac/system-requirements.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Versions 17, 13.1, and 13 of the Linux and macOS drivers are supported on the x6
4545
|Debian Linux 10 |Yes |Yes |Yes |Yes | | | | | | |
4646
|Oracle Linux 7 |Yes | | | | | | | | | |
4747
|Oracle Linux 8 |Yes |Yes |Yes | | | | | | | |
48-
|RedHat Enterprise Linux 6 |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes|
49-
|RedHat Enterprise Linux 7 |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes|
50-
|RedHat Enterprise Linux 8 |Yes |Yes |Yes |Yes | | | | | | |
48+
|Red Hat Enterprise Linux 6 |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes|
49+
|Red Hat Enterprise Linux 7 |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes|
50+
|Red Hat Enterprise Linux 8 |Yes |Yes |Yes |Yes | | | | | | |
5151
|SUSE Linux Enterprise Server 11<sup>1</sup>|Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes|
5252
|SUSE Linux Enterprise Server 12|Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes |Yes|
5353
|SUSE Linux Enterprise Server 15|Yes |Yes |Yes |Yes |Yes | | | | | |

docs/connect/oledb/download-oledb-driver-for-sql-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Microsoft OLE DB Driver 18.5 for SQL Server is the latest general availability (
2929
- Released: December 1, 2020
3030

3131
> [!Note]
32-
> If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the [US-English version of the site](). You can download different languages from the US-English version site by selecting [available languages](#available-languages).
32+
> If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit the [US-English version of the site](https://aka.ms/downloadmsoledbsqlusenglish). You can download different languages from the US-English version site by selecting [available languages](#available-languages).
3333
3434
## Available languages
3535

docs/connect/php/installation-tutorial-linux-mac.md

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,17 @@ manager: v-mabarw
1414

1515
# Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server
1616

17-
The following instructions assume a clean environment and show how to install PHP 8.0, the Microsoft ODBC driver, the Apache web server, and the Microsoft Drivers for PHP for SQL Server on Ubuntu 16.04, 18.04, and 20.04, RedHat 7 and 8, Debian 9 and 10, Suse 12 and 15, Alpine 3.11 and 3.12, and macOS 10.14, 10.15, and 11.0. These instructions advise installing the drivers using PECL, but you can also download the prebuilt binaries from the [Microsoft Drivers for PHP for SQL Server](https://github.com/Microsoft/msphpsql/releases) GitHub project page and install them following the instructions in [Loading the Microsoft Drivers for PHP for SQL Server](../../connect/php/loading-the-php-sql-driver.md). For an explanation of extension loading and why we do not add the extensions to php.ini, see the section on [loading the drivers](../../connect/php/loading-the-php-sql-driver.md#loading-the-driver-at-php-startup).
17+
The following instructions assume a clean environment and show how to install PHP 8.0, the Microsoft ODBC driver, the Apache web server, and the Microsoft Drivers for PHP for SQL Server on Ubuntu, Red Hat, Debian, Suse, Alpine, and macOS. These instructions advise installing the drivers using PECL, but you can also download the prebuilt binaries from the [Microsoft Drivers for PHP for SQL Server](https://github.com/Microsoft/msphpsql/releases) GitHub project page and install them following the instructions in [Loading the Microsoft Drivers for PHP for SQL Server](../../connect/php/loading-the-php-sql-driver.md). For an explanation of extension loading and why we do not add the extensions to php.ini, see the section on [loading the drivers](../../connect/php/loading-the-php-sql-driver.md#loading-the-driver-at-php-startup).
1818

1919
The following instructions install PHP 8.0 by default using `pecl install`, if the PHP 8.0 packages are available. You may need to run `pecl channel-update pecl.php.net` first. Some supported Linux distros default to PHP 7.1 or earlier, which is not supported for the latest version of the PHP drivers for SQL Server. See the notes at the beginning of each section to install PHP 7.4 or 7.3 instead.
2020

2121
Also included are instructions for installing the PHP FastCGI Process Manager, PHP-FPM, on Ubuntu. PHP-FPM is needed if you're using the nginx web server instead of Apache.
2222

2323
While these instructions contain commands to install both SQLSRV and PDO_SQLSRV drivers, the drivers can be installed and function independently. Users comfortable with customizing their configuration can adjust these instructions to be specific to SQLSRV or PDO_SQLSRV. Both drivers have the same dependencies except where noted below.
2424

25-
## Contents of this page
25+
## Installing on Ubuntu
2626

27-
- [Installing the drivers on Ubuntu 16.04, 18.04, and 20.04](#installing-the-drivers-on-ubuntu-1604-1804-and-2004)
28-
- [Installing the drivers with PHP-FPM on Ubuntu](#installing-the-drivers-with-php-fpm-on-ubuntu)
29-
- [Installing the drivers on Red Hat 7 and 8](#installing-the-drivers-on-red-hat-7-and-8)
30-
- [Installing the drivers on Debian 9 and 10](#installing-the-drivers-on-debian-9-and-10)
31-
- [Installing the drivers on Suse 12 and 15](#installing-the-drivers-on-suse-12-and-15)
32-
- [Installing the drivers on Alpine 3.11 and 3.12](#installing-the-drivers-on-alpine-311-and-312)
33-
- [Installing the drivers on macOS Mojave, Catalina and Big Sur](#installing-the-drivers-on-macos-mojave-catalina-and-big-sur)
34-
35-
## Installing the drivers on Ubuntu 16.04, 18.04, and 20.04
27+
Ubuntu versions 16.04, 18.04, and 20.04 are supported.
3628

3729
> [!NOTE]
3830
> To install PHP 7.4 or 7.3, replace 8.0 with 7.4 or 7.3 in the following commands.
@@ -83,7 +75,9 @@ sudo service apache2 restart
8375

8476
To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document.
8577

86-
## Installing the drivers with PHP-FPM on Ubuntu
78+
## Installing on Ubuntu with PHP-FPM
79+
80+
Ubuntu versions 16.04, 18.04, and 20.04 are supported.
8781

8882
> [!NOTE]
8983
> To install PHP 7.4 or 7.3, replace 8.0 with 7.4 or 7.3 in the following commands.
@@ -144,14 +138,14 @@ sudo systemctl status nginx
144138

145139
To configure nginx, you must edit the `/etc/nginx/sites-available/default` file. Add `index.php` to the list below the section that says `# Add index.php to the list if you are using PHP`:
146140

147-
```
141+
```config
148142
# Add index.php to the list if you are using PHP
149143
index index.html index.htm index.nginx-debian.html index.php;
150144
```
151145

152146
Next, uncomment, and modify the section following `# pass PHP scripts to FastCGI server` as follows:
153147

154-
```
148+
```config
155149
# pass PHP scripts to FastCGI server
156150
#
157151
location ~ \.php$ {
@@ -168,7 +162,9 @@ sudo systemctl restart nginx.service
168162

169163
To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document.
170164

171-
## Installing the drivers on Red Hat 7 and 8
165+
## Installing on Red Hat
166+
167+
Red Hat versions 7 and 8 are supported.
172168

173169
### Step 1. Install PHP (Red Hat)
174170

@@ -246,7 +242,9 @@ sudo apachectl restart
246242

247243
To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document.
248244

249-
## Installing the drivers on Debian 9 and 10
245+
## Installing on Debian
246+
247+
Debian versions 9 and 10 are supported.
250248

251249
> [!NOTE]
252250
> To install PHP 7.4 or 7.3, replace 8.0 in the following commands with 7.4 or 7.3.
@@ -308,7 +306,9 @@ sudo service apache2 restart
308306

309307
To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document.
310308

311-
## Installing the drivers on Suse 12 and 15
309+
## Installing on Suse
310+
311+
Suse Enterprise Linux versions 12 and 15 are supported.
312312

313313
> [!NOTE]
314314
> In the following instructions, replace `<SuseVersion>` with your version of Suse. If you are using Suse Enterprise Linux 15, it will be SLE_15_SP1 or SLE_15_SP2. For Suse 12, use SLE_12_SP4 (or above if applicable). Not all versions of PHP are available for all versions of Suse Linux. Refer to `http://download.opensuse.org/repositories/devel:/languages:/php` to see which versions of Suse have the default version of PHP available, or check `http://download.opensuse.org/repositories/devel:/languages:/php:/` to see which other versions of PHP are available for which versions of Suse.
@@ -364,7 +364,9 @@ sudo systemctl restart apache2
364364

365365
To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document.
366366

367-
## Installing the drivers on Alpine 3.11 and 3.12
367+
## Installing on Alpine
368+
369+
Alpine versions 3.11 and 3.12 are supported.
368370

369371
> [!NOTE]
370372
> The default version of PHP is 7.3. PHP 7.4 or above may be available from testing or edge repositories for Alpine. You can instead compile PHP from source.
@@ -414,7 +416,9 @@ sudo rc-service apache2 restart
414416

415417
To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document.
416418

417-
## Installing the drivers on macOS Mojave, Catalina and Big Sur
419+
## Installing on macOS
420+
421+
MacOS versions 10.14 (Mojave), 10.15 (Catalina), and 11.0 (Big Sur) are supported.
418422

419423
If you do not already have it, install brew as follows:
420424

@@ -485,7 +489,7 @@ To test your installation, see [Testing your installation](#testing-your-install
485489

486490
## Testing Your Installation
487491

488-
To test this sample script, create a file called testsql.php in your system's document root. This path is `/var/www/html/` on Ubuntu, Debian, and Redhat, `/srv/www/htdocs` on SUSE, `/var/www/localhost/htdocs` on Alpine, or `/usr/local/var/www` on macOS. Copy the following script to it, replacing the server, database, username, and password as appropriate.
492+
To test this sample script, create a file called testsql.php in your system's document root. This path is `/var/www/html/` on Ubuntu, Debian, and Red Hat, `/srv/www/htdocs` on SUSE, `/var/www/localhost/htdocs` on Alpine, or `/usr/local/var/www` on macOS. Copy the following script to it, replacing the server, database, username, and password as appropriate.
489493

490494
### SQLSRV example
491495

docs/connect/php/release-notes-php-sql-driver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ This release only applies to Linux and macOS.
241241

242242
- Support for PHP 7.0
243243
- Full 64-bit support
244-
- Support for Ubuntu 15.04, Ubuntu 16.04, and RedHat 7
244+
- Support for Ubuntu 15.04, Ubuntu 16.04, and Red Hat 7
245245

246246
## 3.2
247247

0 commit comments

Comments
 (0)