Install Php-mode,emacsphp-mode under MAC emacs
In a page (sorry don't remember), compared three configurations, Php-mode, php-mode-improved, xnhtml.
The author in the comparison recommended xnhtml, but in xnthml official website download link always show 403, really let people no language.
Try to install php-mode-improved, download and follow the instructions in code is the configuration is not successful, (Require ' php-mode) I put in Lisp.
can only turn direction, install Php-mode, found on this page http://melpa.org/#/getting-started. To add the Melpa to the package list, Add. Emacs as follows
(require 'package) ;; You might already have this line(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)(when (< emacs-major-version 24) ;; For important compatibility libraries like cl-lib (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))(package-initialize) ;; You might already have this line
You can use the M-x list-package, or you can use the Package Manager in the options to install Php-mod. Then select Php-mode installation.
http://www.bkjia.com/PHPjc/973823.html www.bkjia.com true http://www.bkjia.com/PHPjc/973823.html techarticle MAC Emacs installed Php-mode,emacsphp-mode in a page (sorry not to remember), compared to three configurations, Php-mode, php-mode-improved, xnhtml. The author recommends xnhtm after comparison ...