How to Install Php-Residence on Windows with Easyphp
Before installing php-residence we will use easyphp to install at once the Apache web server and Mysql database, however
we will need windows 2000/XP or later as with 98 or former easyphp does not work. Download easyphp from the site
http://www.easyphp.org and install it. You shouldn't need to change
default settings during installation, when writing this tutorial the last available version of easyphp is 1.8. At the end of
installation easyphp will present the status window of Apache and Mysql servers, you must minimize this window and not close it,
otherwise the servers are stopped. To confirm that the servers are active check that there is an E with a flashing red dot in
the task bar at the bottom right side, otherwise easyphp can be restarted from the start menu.
Now, if you haven't already done it, download the latest version of php-residence and decompress it. To decompress it you can
use winzip, so that a folder called php-residence will be extracted. Copy the
php-residence folder in c:\programs\easyphp1-8\www\ or in the corresponding folder if you did not choose the default path when
installing easyphp.
At this point, if easyphp is active (E with flashing point), opening a browser, for example Internet Explorer or Mozilla
Firefox, and connecting to http://localhost/php-residence/ , it should appear the first installation page of php-residence.
Actually this page is on your computer, you don't need to be connected to internet to access it. From this page you can now normally
proceed with the installation. The data to be inserted in the second intallation screen to connect to the database are:
type: mysql
dadabase name at choice but without spaces
existing database: no
computer: localhost
port: 3306
username: root
no password
Continue the installation inserting the apartments data and creating a new year. When the installation is finished you
can add the main menu page of php-residence to the favourites of your browser.
Pressing with mouse right button on the E in the task bar easyphp can be configured to automatically start when the
computer is turend on. But remember that when there is the E with the flashing point, and you are connected directly to
internet, also others from outside can view the pages of your server. So it would be better setting up a firewall that blocks
connections to port 80 from outside.