cd ~/.emacs.d
mkdir -p ./github.com/emacs-php
cd !$
git clone https://github.com/emacs-php/php-mode
在~/.emacs 文件后追加如下内容
(when (file-directory-p "~/.emacs.d/github.com/emacs-php/php-mode/lisp")
(load "~/.emacs.d/github.com/emacs-php/php-mode/lisp/php-mode-autoloads.el"))
; (setq php-manual-path "/usr/local/php/share/doc/php-manual/en/html/")