Saturday, January 29, 2011

how to view local php files

Here's just so I won't forget.

Currently my home laptop have these packages installed:
1. mysql-server, and dependencies
2. phpmyadmin, and dependencies
3. php5, and dependencies

Now wanting to play around with PHP scripting, without installing LAMP, I found out here that the default location where I should start putting my PHP files would be in /var/www.

Putting any PHP file in this directory, then viewing in my browser via http://localhost/ works.

However, I want to have my own webdev directory, under my own home folder. Trying out the tips of this link.

Great tutorial - it works!

No comments:

Post a Comment