You should install Apache and PHP on your machine. After that you should configure the Apache server to handle the PHP files. You can find a good tutorial at the PHP's official site.
After that you should put the PHP files in a folder called htdocs. The path depends on your installation method. For exmple it is /usr/local/Apache2/htdocs on my machine. The you open your browser and load the pages in it. For example to load a page named test.php you should type http://localhost/test.php in the address bar of your browser.


Reply With Quote

Bookmarks