Answer the question
In order to leave comments, you need to log in
How to set up Xdebug for Yii2?
Hello.
Xdebug installed, everything is fine, but I don’t understand how to make it friends with yii2 (advanced).
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Setting up XDebug under Yii is no different from setting up XDebug under PHP. Not a single feature.
As a variant of the "crutch" I decided as follows:
1. In Apche, I do not specify /project/frontend as the root, but /project
2. and create a file /preoject/index.php for the redirect (you can do the same through htaccess)
<?php
header('location: /frontend');
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question