Skip to content

Commit

Permalink
update macOS instructions (phalcon-orphanage#1715)
Browse files Browse the repository at this point in the history
* update macOS instructions

macOS users should use `/usr/local/bin` instead of `/usr/bin` because of **SIP** or "System Integrity Protection" introduced in El Capitan update, where even root users are not allowed to edit anything in `/usr` `/bin` `/sbin` `/System` folders with exception being mentioned `/usr/local/bin`

* Update macOS instructions

Update instructions to be clear on which commands to use for different macOS versions
  • Loading branch information
crnjakovic authored and niden committed Aug 23, 2018
1 parent ed1868c commit 7f8b36c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion en/devtools-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,14 @@ cd phalcon-devtools/

![](/images/content/devtools-mac-2.png)

Create a symbolic link to the phalcon.php script:
Next, we'll create a symbolic link to the `phalcon.php` script. On El Capitan and newer versions of macOS:

```bash
ln -s ~/phalcon-devtools/phalcon.php /usr/local/bin/phalcon
chmod ugo+x /usr/local/bin/phalcon
```

if you are running an older version:

```bash
ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon
Expand Down

0 comments on commit 7f8b36c

Please sign in to comment.