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?
F4NNIU2017-11-30 23:08:58
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.
Day2017-11-21 13:39:29
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.