How I can turn on highilighting php code in org-mode structure block?
ob-php is now in Org mode contrib and available through the
org-plus-contrib package in Org ELPA.
You can install this package by adding Org ELPA to your
package-archives list in your init file:
(require 'package) (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)
Then you can install the org-plus-contrib package by opening the package manager (
list-packages), locate the package (
RET), mark it for installation (
i), and finally actually install it (
x). (It'd be nice if the package module offered an
install-package command but until it does, you'll have to go through this process.)
If you don't want all of contrib, then you'll have to grab ob-php directly from the Org mode Git repository (direct link) and load it yourself from your init file.
The version of
org-mode in Emacs 26.1 includes this support. For earlier versions of Emacs you can install a newer version of org-mode from its ELPA repository.
So if you have at least Emacs 26.1 for php highlighting in org-mode you need to just install php-mode.
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.