You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Linux-mac-install.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,30 +5,33 @@ These instructions install PHP 7.2 by default -- see the notes at the beginning
5
5
6
6
## Contents of this page:
7
7
8
-
-[Installing the drivers on Ubuntu 16.04and 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)
9
9
-[Installing the drivers on Red Hat 7](#installing-the-drivers-on-red-hat-7)
10
10
-[Installing the drivers on Debian 8 and 9](#installing-the-drivers-on-debian-8-and-9)
11
11
-[Installing the drivers on Suse 12](#installing-the-drivers-on-suse-12)
12
12
-[Installing the drivers on macOS El Capitan, Sierra, High Sierra and Mojave](#installing-the-drivers-on-macos-el-capitan-sierra-high-sierra-and-mojave)
13
13
14
-
## Installing the drivers on Ubuntu 16.04and 18.04
14
+
## Installing the drivers on Ubuntu 16.04, 18.04 and 18.10
15
15
16
16
> [!NOTE]
17
17
> To install PHP 7.0 or 7.1, replace 7.2 with 7.0 or 7.1 in the following commands.
18
18
> 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.
22
22
23
23
### Step 1. Install PHP
24
24
```
25
25
sudo su
26
-
add-apt-repository ppa:ondrej/php -y
26
+
# The following step is required for Ubuntu 16.04 only
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).
32
35
33
36
### Step 3. Install the PHP drivers for Microsoft SQL Server
0 commit comments