Skip to content

Commit 2a9398f

Browse files
authored
Updated instructions to include Ubuntu 18.10 (#869)
1 parent b3072a9 commit 2a9398f

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Linux-mac-install.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,33 @@ These instructions install PHP 7.2 by default -- see the notes at the beginning
55

66
## Contents of this page:
77

8-
- [Installing the drivers on Ubuntu 16.04 and 18.04](#installing-the-drivers-on-ubuntu-1604-and-1804)
8+
- [Installing the drivers on Ubuntu 16.04, 18.04 and 18.10](#installing-the-drivers-on-ubuntu-1604-1804-and-1810)
99
- [Installing the drivers on Red Hat 7](#installing-the-drivers-on-red-hat-7)
1010
- [Installing the drivers on Debian 8 and 9](#installing-the-drivers-on-debian-8-and-9)
1111
- [Installing the drivers on Suse 12](#installing-the-drivers-on-suse-12)
1212
- [Installing the drivers on macOS El Capitan, Sierra, High Sierra and Mojave](#installing-the-drivers-on-macos-el-capitan-sierra-high-sierra-and-mojave)
1313

14-
## Installing the drivers on Ubuntu 16.04 and 18.04
14+
## Installing the drivers on Ubuntu 16.04, 18.04 and 18.10
1515

1616
> [!NOTE]
1717
> To install PHP 7.0 or 7.1, replace 7.2 with 7.0 or 7.1 in the following commands.
1818
> For Ubuntu 18.04, the step to add the ondrej repository is not required unless
19-
> PHP 7.0 or 7.1 is needed. However, installing PHP 7.0 or 7.1 in Ubuntu 18.04 may
20-
> not work as packages from the ondrej repository come with dependencies that may
21-
> conflict with a base Ubuntu 18.04 install.
19+
> PHP 7.0 or 7.1 is needed. However, installing PHP 7.0 or 7.1 in Ubuntu 18.04 or 18.10
20+
> may not work as packages from the ondrej repository come with dependencies that may
21+
> conflict with a base Ubuntu 18.04 or 18.10 install.
2222
2323
### Step 1. Install PHP
2424
```
2525
sudo su
26-
add-apt-repository ppa:ondrej/php -y
26+
# The following step is required for Ubuntu 16.04 only
27+
add-apt-repository ppa:ondrej/php -y
2728
apt-get update
2829
apt-get install php7.2 php7.2-dev php7.2-xml -y --allow-unauthenticated
2930
```
3031
### Step 2. Install prerequisites
31-
Install the ODBC driver for Ubuntu by following the instructions on the [Linux and macOS installation page](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server).
32+
Install the ODBC driver for Ubuntu by following the instructions on the [Linux and macOS installation page](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server).
33+
34+
For Ubuntu 18.10, follow the above steps for Ubuntu 18.04 except replace `18.04` by `18.10` and download ODBC 17.3 preview [here](https://www.microsoft.com/en-us/download/details.aspx?id=57341).
3235

3336
### Step 3. Install the PHP drivers for Microsoft SQL Server
3437
```

0 commit comments

Comments
 (0)