Website Environment Setup

(begun in 2013 @

1) Apache, Mysql, PHP

First install Xampp or Xampplite (d:\YieldMore\xampp)

NB: If you want to keep trying new php frameworks and would like to install them with a single click, use Softaculous which comes bundled with ampps.

2) Source code revision control

Download git (you may not want tortoisegit). This is if you want to have your files saved online and keep a history of changes made etc.

To see how this works, you can see my public repos on bitbucket and github.

3) Download your Project

Clone your project from into a new folder d:\xampp\htdocs\your-website. To do this, you must:
a) create the folder “your-website” in the desired location
b) right click and say git clone (this could be in the tortoisegit menu). Git registers command line context menus without icons, tortoise does it with, so use the tortoisegit ones.

When setting the local folder, make sure the your-website doesn’t get shown twice
i.e. When copying this into the git clone dialog after pasting d:\xampp\htdocs\site, tortoise git will automatically add filename.git, leaving you with d:\xampp\htdocs\site\website-repository in the second textbox.

NB: An alternate to bitbucket is github – repos on github are all opensource and anyone can view them.

4) Run the website locally

Entering http://localhost/site (localhost = htdocs) should show you the website’s home page.

5) Install a code editor – PSPad

From, you can install this wonderful text editor and using it, open the ppr file in your project root directory (htdocs\site)

In app/pages, you will find a number of html and php files that are used for the individual pages
template is in app\views\template
css is in assets\css

All these follow very simple html and the main template is abstracted from the individual pages for maintenance.

For more details, follow / ask for wiki articles in your bitbucket repo. or in the Microvic wiki if your website uses that.

5) Install FTPSync

FTP Sync will help you publish changes to the ftp site immediately
To add a new website, click open, copy paste a line and change the ftp / local folder / username.

Then hit refresh in the open dialog.

Since the password is encrypted, you need to enter this manually in the “Select connection / folder” window.
Press the show passwords button and edit it then click save.

FTPSync will now be listening in the project folder for file changes / you can drag drop files from a date > today search in windows explorer and press the sync button to upload them.

Old Links:
Pre 2021:
  1. 2013 - Port my .net apps to C# (FTPSync, IViewer)
  2. 2011 - Book Publishing as precursor to YM (I learn php)
  3. 2005 - Imran's College Portfolio (VB6 / Electronics / Embedded)
  4. 2001 - IVY's Angelfire Site (html / VB6 / games and apps)
  5. 1998 - Digital Circuits (foray into electronics age 15)

Amadeus' Statistics v1.4

load time: 0.013 secs
memory: 817.02 KB

show list of 32 included files with total size of 93.93 KB