R
R
ramil-kh872016-01-12 16:49:27
Apache HTTP Server
ramil-kh87, 2016-01-12 16:49:27

How to use SSI inside php files?

Please tell me how to make it possible to include the use of SSI constructs inside the php file?
In the settings, Apache did:
Options +Includes
AddType text/html .shtml .php
AddHandler server-parsed .shtml .php
For the host:
Options FollowSymLinks
Options +Includes
AllowOverride All
Allow from all.
As a result, Apache does not process php code.
If you call a thread of the .shtml file, then ssi works.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question