Page 1 of 1

XAMPP keeps showing Dashboard Page instead of my index page

PostPosted: 11. August 2016 15:52
by iasmini
Hi,

I'm using PHPStorm 2016.2 and trying to use XDebub to debug my code.

I've installed Xampp 5.6.23 (only Apache and PHP, I've already have MySQL installed) and I've made all configurations following this link https://confluence.jetbrains.com/display/PhpStorm/Xdebug+Installation+Guide

I've validated with PHPStorm (https://confluence.jetbrains.com/display/PhpStorm/Validating+Your+Debugging+Configuration) and it works.

But, when I try to debug with PHP, XAMPP keeps showing Dashboard Page instead of my index page. Why? I've searched and tried to fix using this:
http://stackoverflow.com/questions/31653694/xampp-keeps-showing-dashboard-welcome-page-instead-of-the-configuration-page/37548581#37548581

But nothing worked! I don't know what else I can do.

1. My Apache starts normally.
2. http://localhost/dashboard/ loads normally.
3. PHPStorm debugger validation is ok.
4. I've included in php.ini file (C:\xampp\php) the Xdebug configuration:
[Xdebug]
zend_extension="C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_autostart=0
xdebug.remote_connect_back=1
xdebug.remote_log="C:\xampp\php\ext\xdebug.log"

I hope someone can help me,

Thanks in advance,

Iasmini Gomes

Re: XAMPP keeps showing Dashboard Page instead of my index p

PostPosted: 11. August 2016 17:58
by Nobbie
iasmini wrote:But, when I try to debug with PHP, XAMPP keeps showing Dashboard Page instead of my index page. Why?


Why not?? You did not tell us, where you put your index page. Xampp shows c:/xampp/htdocs/index.php.

Re: XAMPP keeps showing Dashboard Page instead of my index p

PostPosted: 11. August 2016 19:30
by iasmini
Sorry, I had forgotten to change the apache document root.

Re: XAMPP keeps showing Dashboard Page instead of my index p

PostPosted: 11. August 2016 20:14
by Nobbie
Aaarrgh ....