Не работает AddType application/x-httpd-php .html .php #277
Replies: 3 comments
-
|
В phpinfo у 6.3.5, где работает В OpenServer 6.5.1, где не работает |
Beta Was this translation helpful? Give feedback.
-
|
Оно и не будет работать, Apache в OSPanel больше не использует mod_php и вместо этого PHP там работает через FastCGI. Чтобы получить тот же эффект откройте шаблон конфига Apache и замените там все вхождения:
и
|
Beta Was this translation helpful? Give feedback.
-
|
Искал решение для .htaccess, а помогло редактирование httpd.conf. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Установил OpenServer 6.5.1, спасибо!
Не работает команда .htaccess для Apache (исполнение кода php в html файле)
AddType application/x-httpd-php .html .php
В OpenServer 6.3.5 работает.
Куда копать? Заранее благодарен!
Beta Was this translation helpful? Give feedback.
All reactions