This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| php:macos-installation [2021-10-28] – dcai | php:macos-installation [2021-10-31] (current) – dcai | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| # pecl install zip libsodium | # pecl install zip libsodium | ||
| # remove duplicated extension added in / | # remove duplicated extension added in / | ||
| + | brew link php@7.4 | ||
| + | brew link postgresql@12 | ||
| </ | </ | ||
| Line 16: | Line 18: | ||
| # start db | # start db | ||
| postgres -D ~/ | postgres -D ~/ | ||
| - | psql -U postgres | + | echo "ALTER USER postgres WITH PASSWORD 'postgres';" | psql -U postgres |
| - | # run query below | + | |
| - | ALTER USER postgres WITH PASSWORD 'xxxxx'; | + | |
| </ | </ | ||