D
D
Dmitrybax2015-09-30 19:52:52
PHP
Dmitrybax, 2015-09-30 19:52:52

Windows 10 PHP not working?

Installed Windows 10 and was very surprised. Tried installing Open Server and WAMP.
All CMS work fine.
But, I create an html file in it there is some kind of php code. Everything is done except php, and php is commented like this:
<!--?php ?-->
Where to dig?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
littleguga, 2015-09-30
@littleguga

> create html file
It is necessary to create a .php file.
Either change your apache/nginx settings so that .html files are also processed by php. Instructions on how to do it.

I
Ivanq, 2015-09-30
@Ivanq

Look in the Apache settings. It is necessary to register that .html are processed by php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question