How to prevent phpstudy from resetting vhosts.conf after restarting?
F4NNIU
F4NNIU 2017-11-21 11:11:00
0
3
1301

I have been using WAMPSERVER before.
Now using nginx php 7 in phpstudy.
I just modified vhosts.conf and added index.php to rewrite. Then restart nginx in phpstudy and it will take effect.
But when I exit phpstudy and reopen vhosts.conf, the content will be reset, and the index.php rewrite condition will be deleted.
Is there any way to prevent phpstudy from resetting the contents of vhosts.conf?

F4NNIU
F4NNIU

reply all(2)
Spark

The current solution is to include another file in nginx.conf and modify it in another conf, so that it will not be modified by phpstudy.

Day

Currently, the software automatically reads and writes configuration files according to a fixed format. If you don’t want it to be changed, you can only configure it manually, because the manually configured software will not be recognized.

  • reply It seems they are not talking about the same issue. I have not used the site domain name management in phpstudy. I manually modified vhosts.conf, but after exiting and reopening phpstudy, vhosts.conf was restored.
    F4NNIU author 2017-11-21 14:35:43
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template