install php modules (If you didn't yet) then add index.php to DirectoryIndex in dir.conf module inside /etc/apache2/mods-enabled/
> > > > then i visit it by http://localhost/php/StarLiu/Welcome.php, but it > > pops out the download dialog to download the Welcome.php file. > > > > it seems i didn't configure it correctly, how can i fix it? thanks