/var/www/html/index.php
<?php
echo 'a';
echo 'a';
when index.php is execute in cli mode as below
$ php /var/www/html/index.php
However, when execute by apache like
$ curl 'http://localhost:80?XDEBUG_SESSION_START=1'
aa
nothing happened to xdebug.
Below is the error log of apache, nothing special
1 [Fri Jun 17 05:02:15.526773 2016] [mpm_prefork:notice] [pid 30840] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.17 configured -- resuming normal operations │ qualified domain name, using 10.0.2.15. Set the 'ServerName' dir 2 [Fri Jun 17 05:02:15.526839 2016] [core:notice] [pid 30840] AH00094: Command line: '/usr/sbin/apache2'
I'm using Apache/2.4.7 , PHP/5.5.9 , Ubuntu , vim and DBGPavim in Vagrant virtual machine. How can I find out the reason why xdebug doesn't work via apache?
