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.
The above describes the Mac Emacs installation Php-mode, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.