The following instructions only apply to Version 2 of PHPmotion. For V1 please refer to the instructions provided inside the downloaded zip file

  1. Determin what versin of PHP is running on your server. There are 2 ways to do this
  2. Download the appropriate version of phpmotion for your server (From our forum). We provide a version for both PHP4 and PHP5 servers
  3. Unzip the files on your computer
  4. Using your web hosting control panel or similar, create a mysql database and write down the details of the database once created
  5. Upload all the phpmotion files into your FTP folder
  6. CHMOD all the following files and directories to 777
    • /setup
    • /pictures
    • /classes
    • /temp
      • /logs
    • /addons
    • /uploads
    • /uploads/avi
    • /uploads/thumbs
    • /uploads/audio
    • /uploads/audio/temp
    • /uploads/pictures
  7. CHMOD all the following files and directories to 755
    • /cgi-bin/all files in there
    • /cgi-bin/audio/all files in there
  8. Start the installation wizard by going to http://YOUDOMAIN.COM/setup (replace with your real domain name)
IMPORTANT NOTES

  1. The following files MUST be uploaded in BINARY mode. Your FTP program will have an option for this
    • /classes/config.php
    • /watchingnow.php
    • /mp3_id3_utils.php

Installing PHPmotion V2 RC1 to a Sub-Folder

If you are installing to a subfolder (example http://www.yourdomain.com/myvideos/)

  1. Follow ALL the standard setup instructions above
  2. The following files will need to be edited using a plain text editor like notepad
    • /cgi-bin/uu_default_config.pm
    • /cgi-bin/audio/uu_default_config.pm
    • uploader_conlib.php
    • audio_uploader_conlib.php
  1. /cgi-bin/uu_default_config.pm and /cgi-bin/audio/uu_default_config.pm

open each file and locate the section with:

config_file_name         => 'uu_default_config',
temp_dir => $ENV{'DOCUMENT_ROOT'} . '/temp/',
upload_dir => $ENV{'DOCUMENT_ROOT'} . '/uploads/avi/',
redirect_url => '/uploader_finished.php',
path_to_upload => '/uploads/avi/',

Change it to:

config_file_name         => 'uu_default_config',
temp_dir => $ENV{'DOCUMENT_ROOT'} . '/myvideos/temp/',
upload_dir => $ENV{'DOCUMENT_ROOT'} . '/myvideos/uploads/avi/',
redirect_url => '/myvideos/uploader_finished.php',
path_to_upload => '/myvideos/uploads/avi/',

  1. uploader_conlib.php and audio_uploader_conlib.php

open each file and locate the section with:

$path_to_upload_script      = '/cgi-bin/uu_upload.pl';
$path_to_ini_status_script = '/cgi-bin/uu_ini_status.pl';

Change it to:

$path_to_upload_script      = '/myvideos/cgi-bin/uu_upload.pl';
$path_to_ini_status_script = '/myvideos/cgi-bin/uu_ini_status.pl';