Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question