Skip to content

Commit f32472b

Browse files
authored
Update installation-tutorial-linux-mac.md
1 parent b5bb573 commit f32472b

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ ms.author: "v-ulibra"
1010
manager: "Hadis Fard"
1111
---
1212
# PHP Linux and Mac Drivers Installation Tutorial
13-
The following instructions assume a clean environment and show how to install PHP 7.x, Microsoft ODBC driver, apache, and Microsoft PHP drivers on Ubuntu 15.10, 16.04, RedHat 7, Debian 8, and Mac OS X.
13+
The following instructions assume a clean environment and show how to install PHP 7.x, Microsoft ODBC driver, Apache, and Microsoft PHP drivers on Ubuntu 15.10, 16.04, RedHat 7, Debian 8, and Mac OS X.
1414
## Installing the drivers on Ubuntu 15.10 for PHP 7.0
15-
Note that there is no PHP 7.1 package available for Ubuntu 15.10.
15+
There is no PHP 7.1 package available for Ubuntu 15.10.
1616
### Step 1. Install PHP
1717
```
1818
sudo su
@@ -53,7 +53,7 @@ echo "extension=pdo_sqlsrv.so" >> /etc/php/7.0/apache2/php.ini
5353
```
5454
sudo service apache2 restart
5555
```
56-
To test your installation, see **Testing Your Installation** at the end of this document.
56+
To test your installation, see **Testing your installation** at the end of this document.
5757

5858
## Installing the drivers on Ubuntu 16.04 for PHP 7.0
5959
### Step 1. Install PHP
@@ -95,7 +95,7 @@ echo "extension=pdo_sqlsrv.so" >> /etc/php/7.0/apache2/php.ini
9595
```
9696
sudo service apache2 restart
9797
```
98-
To test your installation, see **Testing Your Installation** at the end of this document.
98+
To test your installation, see **Testing your installation** at the end of this document.
9999

100100
## Installing the drivers on Ubuntu 16.04 for PHP 7.1
101101
### Step 1. Install PHP
@@ -138,7 +138,7 @@ echo "extension=pdo_sqlsrv.so" >> /etc/php/7.1/apache2/php.ini
138138
```
139139
sudo service apache2 restart
140140
```
141-
To test your installation, see **Testing Your Installation** at the end of this document.
141+
To test your installation, see **Testing your installation** at the end of this document.
142142

143143
## Installing the drivers on Red Hat 7 for PHP 7.0 and 7.1
144144
### Step 1. Install PHP
@@ -178,15 +178,15 @@ yum install httpd
178178
echo "extension=sqlsrv.so" > /etc/php.d/sqlsrv.ini
179179
echo "extension=pdo_sqlsrv.so" > /etc/php.d/pdo_sqlsrv.ini
180180
```
181-
Note: SELinux is installed by default and runs in Enforcing mode. To allow Apache to connect to databases through SELinux, run the following command:
181+
SELinux is installed by default and runs in Enforcing mode. To allow Apache to connect to databases through SELinux, run the following command:
182182
```
183183
sudo setsebool -P httpd_can_network_connect_db 1
184184
```
185185
### Step 5. Restart Apache and test the sample script
186186
```
187187
sudo apachectl restart
188188
```
189-
To test your installation, see **Testing Your Installation** at the end of this document.
189+
To test your installation, see **Testing your installation** at the end of this document.
190190

191191
## Installing the drivers on Debian 8 for PHP 7.0
192192
### Step 1. Install PHP
@@ -232,7 +232,7 @@ echo "extension=pdo_sqlsrv.so" >> /etc/php/7.0/apache2/php.ini
232232
```
233233
sudo service apache2 restart
234234
```
235-
To test your installation, see **Testing Your Installation** at the end of this document.
235+
To test your installation, see **Testing your installation** at the end of this document.
236236

237237
## Installing the drivers on Debian 8 for PHP 7.1
238238
### Step 1. Install PHP
@@ -277,7 +277,7 @@ echo "extension=pdo_sqlsrv.so" >> /etc/php/7.1/apache2/php.ini
277277
```
278278
sudo service apache2 restart
279279
```
280-
To test your installation, see **Testing Your Installation** at the end of this document.
280+
To test your installation, see **Testing your installation** at the end of this document.
281281

282282
## Installing the drivers on MacOS El Capitan and Sierra
283283
### Step 1. Install PHP
@@ -314,7 +314,7 @@ sudo pecl install pdo_sqlsrv
314314
```
315315
sudo apachectl restart
316316
```
317-
To test your installation, see **Testing Your Installation** at the end of this document.
317+
To test your installation, see **Testing your installation** at the end of this document.
318318

319319
## Testing Your Installation
320320
To test this sample script, create a file called testsql.php in /var/www/html/ (/usr/local/var/www/htdocs on MacOS) and copy the following script to it, replacing the server, database, username, and password as appropriate.

0 commit comments

Comments
 (0)