Updated links and versions (#987)

This commit is contained in:
Jenny Tam 2019-05-09 14:54:24 -07:00 committed by GitHub
parent 3ba26932d8
commit 5dabd47e41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View file

@ -9,7 +9,7 @@ These instructions install PHP 7.3 by default. Note that some supported Linux di
- [Installing the drivers on Red Hat 7](#installing-the-drivers-on-red-hat-7) - [Installing the drivers on Red Hat 7](#installing-the-drivers-on-red-hat-7)
- [Installing the drivers on Debian 8 and 9](#installing-the-drivers-on-debian-8-and-9) - [Installing the drivers on Debian 8 and 9](#installing-the-drivers-on-debian-8-and-9)
- [Installing the drivers on Suse 12 and 15](#installing-the-drivers-on-suse-12-and-15) - [Installing the drivers on Suse 12 and 15](#installing-the-drivers-on-suse-12-and-15)
- [Installing the drivers on macOS El Capitan, Sierra, High Sierra, and Mojave](#installing-the-drivers-on-macos-el-capitan-sierra-high-sierra-and-mojave) - [Installing the drivers on macOS Sierra, High Sierra, and Mojave](#installing-the-drivers-on-macos-sierra-high-sierra-and-mojave)
## Installing the drivers on Ubuntu 16.04, 18.04, and 18.10 ## Installing the drivers on Ubuntu 16.04, 18.04, and 18.10
@ -38,7 +38,7 @@ exit
### Step 4. Install Apache and configure driver loading ### Step 4. Install Apache and configure driver loading
``` ```
sudo su sudo su
apt-get install libapache2-mod-php7.2 apache2 apt-get install libapache2-mod-php7.3 apache2
a2dismod mpm_event a2dismod mpm_event
a2enmod mpm_prefork a2enmod mpm_prefork
a2enmod php7.3 a2enmod php7.3
@ -91,8 +91,8 @@ exit
An issue in PECL may prevent correct installation of the latest version of the drivers even if you have upgraded GCC. To install, download the packages and compile manually (similar steps for pdo_sqlsrv): An issue in PECL may prevent correct installation of the latest version of the drivers even if you have upgraded GCC. To install, download the packages and compile manually (similar steps for pdo_sqlsrv):
``` ```
pecl download sqlsrv pecl download sqlsrv
tar xvzf sqlsrv-5.6.0.tgz tar xvzf sqlsrv-5.6.1.tgz
cd sqlsrv-5.6.0/ cd sqlsrv-5.6.1/
phpize phpize
./configure --with-php-config=/usr/bin/php-config ./configure --with-php-config=/usr/bin/php-config
make make
@ -214,7 +214,7 @@ sudo systemctl restart apache2
``` ```
To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document. To test your installation, see [Testing your installation](#testing-your-installation) at the end of this document.
## Installing the drivers on macOS El Capitan, Sierra, High Sierra, and Mojave ## Installing the drivers on macOS Sierra, High Sierra, and Mojave
If you do not already have it, install brew as follows: If you do not already have it, install brew as follows:
``` ```
@ -259,7 +259,7 @@ apachectl -V | grep SERVER_CONFIG_FILE
``` ```
and substitute the path for `httpd.conf` in the following commands: and substitute the path for `httpd.conf` in the following commands:
``` ```
echo "LoadModule php7_module /usr/local/opt/php@7.2/lib/httpd/modules/libphp7.so" >> /usr/local/etc/httpd/httpd.conf echo "LoadModule php7_module /usr/local/opt/php@7.3/lib/httpd/modules/libphp7.so" >> /usr/local/etc/httpd/httpd.conf
(echo "<FilesMatch .php$>"; echo "SetHandler application/x-httpd-php"; echo "</FilesMatch>";) >> /usr/local/etc/httpd/httpd.conf (echo "<FilesMatch .php$>"; echo "SetHandler application/x-httpd-php"; echo "</FilesMatch>";) >> /usr/local/etc/httpd/httpd.conf
``` ```
### Step 5. Restart Apache and test the sample script ### Step 5. Restart Apache and test the sample script

View file

@ -19,10 +19,10 @@ Thank you for taking the time to participate in our last survey. You can continu
[av-image]: https://ci.appveyor.com/api/projects/status/vo4rfei6lxlamrnc?svg=true [av-image]: https://ci.appveyor.com/api/projects/status/vo4rfei6lxlamrnc?svg=true
[av-site]: https://ci.appveyor.com/project/msphpsql/msphpsql/branch/dev [av-site]: https://ci.appveyor.com/project/msphpsql/msphpsql/branch/dev
[tv-image]: https://travis-ci.org/Microsoft/msphpsql.svg?branch=dev [tv-image]: https://travis-ci.org/microsoft/msphpsql.svg?branch=dev
[tv-site]: https://travis-ci.org/Microsoft/msphpsql/ [tv-site]: https://travis-ci.org/microsoft/msphpsql/
[Coverage Coveralls]: https://coveralls.io/repos/github/Microsoft/msphpsql/badge.svg?branch=dev [Coverage Coveralls]: https://coveralls.io/repos/github/microsoft/msphpsql/badge.svg?branch=dev
[coveralls-site]: https://coveralls.io/github/Microsoft/msphpsql?branch=dev [coveralls-site]: https://coveralls.io/github/microsoft/msphpsql?branch=dev
[Coverage Codecov]: https://codecov.io/gh/microsoft/msphpsql/branch/dev/graph/badge.svg [Coverage Codecov]: https://codecov.io/gh/microsoft/msphpsql/branch/dev/graph/badge.svg
[codecov-site]: https://codecov.io/gh/microsoft/msphpsql [codecov-site]: https://codecov.io/gh/microsoft/msphpsql