H
H
Hnkhame2016-12-19 23:10:13
PHP
Hnkhame, 2016-12-19 23:10:13

How to develop on windows?

Installed windows 10, and decided to try the new built-in bash-ubuntu. Installed apache, php 7.1 directly in bash, and opened localhost directly in the browser in windows. Everything worked, showed a greeting from apache, created a file with phpinfo (), launched it, it works. Everything seems to be fine, but when I tried to activate rewrite_mod and restart apache, I saw the following in the logs:

Function not implemented: AH00023: Couldn't create the rewrite-map mutex

I tried to google the error, but my level of English let me down. 3 hours spent, but the error could not be corrected. Accordingly, the question is, is it possible to set up a server from bash so that you can write code on Windows, and all this is processed on the server? Or is it possible to do this with a virtual machine? Of course, I can put ubuntu next to windows, and switch at any time, but I want to avoid this switch. Ideally, I see it this way: I open a virtual machine with a server or bash, turn on apache, mysql, etc., open the editor in windows and also observe the result from the windows side.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2016-12-20
@zooks

I recommend using Linux, and if you really need Windows, then Vagrant + Puphpet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question