Jump to content
Sign in to follow this  

Installation


Nabeel
  • Downloading phpVMS

    Download the zip or tar file, and upload it (http://downloads.phpvms.net), select phpvms.full.tar.gz or phpvms.full.zip. There is also the Github repository to download (see instructions below).

    IMPORTANT NOTE WHEN UPLOADING FILES - We've seen cases where FTP mangles files. To ensure your upload was not mangled, run the install/checkinstall.php file, and it will spot any errored files. However the best solution is to use SFTP or SCP. By nature of the protocol, it checks the integrity of the files after it uploads.

    Downloading using Github

    You'll need to be in the command line (ssh access), with git installed. You have to cd into the directory in which you want phpVMS to be installed. For instance, into public_html, or public_html/phpvms. In this example, it will be in the phpvms directory:

    cd phpvms
    git clone git@github.com:nshahzad/phpVMS.git .
    git checkout v2.0
    

    You will then have version 2.0 downloaded in that directory. You can then proceed with the next section below, starting at step 4.

    Pre-Installation Preliminaries

    Before you start the installation, a few things must be done:

    • Write permissions (the folders, and files inside them)
      • core/cache
      • core/logs
      • core/pages
      • core/local.config.php
      • lib/rss/
      • lib/signatures
      • lib/avatars

    • Create your database, and note the username, password, server and database name. For detailed instructions, contact your host.
    • Your database user must have SELECT/UPDATE/DELETE/CREATE/APPEND permissions

    Starting the Installer

    Go to the directory in which you setup the site, and it will tell you to redirect to the installer. If it doesn't, goto install/install.php, ie:

    http://www.mysite.com/phpvms/install/install.php

    After you goto the install directory, you may see the following screen:

    ccs-2-12668637576768_thumb.jpg

    This will show up if there are problems. Fix the problems specified. For permissions problems, set the folder (and files inside) to 777 or 775 permissions (check with your host to make sure).

    Installer Step One

    1. Website URL: Enter the URL to your phpVMS install.
    2. Database Name: This is the name of the database to use with phpVMS. For more details, contact your host
    3. Database Username/password
    4. Database Type: Leave as MySQL. Change to MySQLi only if your host requires it, or you know what you're doing.
    5. Table prefix: default is "phpvms_". I recommend leaving it as that

    ccs-2-12668556151309_thumb.png

    "Goto the installer page"

    ccs-2-12668556155137_thumb.png

    Database Setup Page

    ccs-2-12668556158168_thumb.png

    Finished installing tables, continue installer

    Installer Step Two

    1. Site Name - this is your website title, like “phpvms airline group”
    2. Your Virtual Airline - this could be your main airline. You can add more airlines in the panel. When pilots register, they will choose the airline to register with; they'll still be registered on the site. You will also be added to this airline
    3. Airline Code - This will be the “prefix” for a pilot, and their ID, and also any schedules that are made with this airline.

    ccs-2-12668556160254_thumb.png

    Setup your site's options

    ccs-2-12668556163189_thumb.png

    Setup is now complete

Sign in to follow this  


User Feedback

Recommended Comments



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×