forked from capbash/samplephp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
21 lines (18 loc) · 740 Bytes
/
setup.sh
File metadata and controls
21 lines (18 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
brew cask install java
brew install php70-pdo-pgsql
# To finish installing pdo_pgsql for PHP 7.0:
# * /usr/local/etc/php/7.0/conf.d/ext-pdo_pgsql.ini was created,
# do not forget to remove it upon extension removal.
# * Validate installation via one of the following methods:
# *
# * Using PHP from a webserver:
# * - Restart your webserver.
# * - Write a PHP page that calls "phpinfo();"
# * - Load it in a browser and look for the info on the pdo_pgsql module.
# * - If you see it, you have been successful!
# *
# * Using PHP from the command line:
# * - Run `php -i "(command-line 'phpinfo()')"`
# * - Look for the info on the pdo_pgsql module.
# * - If you see it, you have been successful!