Linguaggi
Italiano English Español Deutsch
 

Installation

Software requirements: PHP 5.0 or later version.

A new installation of ApPHP Hotel Site is a very straight forward process:

Step 1. Uncompressing downloaded file.
-
Uncompress the ApPHP Hotel Site version 4.x.x script archive. The archive will create
a directory called "PHPHS_4xx"


Step 2. Uploading files.
-
Upload content of this folder (all files and directories it includes) to your
document root (public_html, www, httpdocs etc.) or your booking script directory using FTP.
Pay attention to DON'T use the capital letters in the name of the folder (for Linux users).

public_html/
or
public_html/{hotel-site directory}/

Rename default.htaccess into .htaccess if you need to add PHP5 handler.


Step 3. Creating database.
-
Using your hosting Control Panel, phpMyAdmin or another tool, create your database
and user, and assign that user to the database. Write down the name of the
database, username, and password for the site installation procedure.


Step 4. Running install.php file.
-
Now you can run install.php file. To do this, open a browser and type in Address Bar

http://{www.example.com}/install.php
or
http://{www.example.com}/{hotel-site directory}/install.php

Follow instructions on the screen. You will be asked to enter: database host,
database name, username and password. Also you need to enter admin username and
admin password, that will be used to get access to administration area of the
site.


Step 5. Setting up access permissions.
-
Check access permissions to images/uploads/. You need to have 755 permissions
to this folder.


Step 6. Deleting install.php file.
-
After successful installation you will get an appropriate message and warning to
remove install.php file. For security reasons, please delete install file
immediately.


Congratulations, you now have ApPHP Hotel Site installed!