eclipse+xdebug
root@leeyoung-Satellite-M300:/etc/apache2/sites-available# nano 000-default.conf
<IfModule dir_module> DirectoryIndex index.html index.php index.htm Alias /test "/home/leeyoung/workspace/test" <Directory /home/leeyoung/workspace/test> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> </IfModule>
加入到文件末尾
root@leeyoung-Satellite-M300:/etc/apache2/sites-available# sudo /etc/init.d/apache2 restart
作者:小菜鸟_yang
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

浙公网安备 33010602011771号