Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Installing Ph Pmotion V2
1. Installing PHPmotion V2
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
o Ask your web hostimg provider
o Use a phpinfo() file Create a phpinfo file
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
o /setup
o /pictures
o /classes
o /temp
/logs
o /addons
o /uploads
o /uploads/avi
o /uploads/thumbs
o /uploads/audio
o /uploads/audio/temp
o /uploads/pictures
7. CHMOD all the following files and directories to 755
o /cgi-bin/all files in there
o /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
o /classes/config.php
o /watchingnow.php
o /mp3_id3_utils.php
Installing PHPmotion V2 to a Sub-Folder
If you are installing to a subfolder (example http://www.yourdomain.com/myvideos/
)
2. 1. Follow ALL the standard setup instructions above
2. The following files will need to be edited using a plain text editor like notepad
o /cgi-bin/uu_default_config.pm
o /cgi-bin/audio/uu_default_config.pm
o uploader_conlib.php
o audio_uploader_conlib.php
1. /cgi-bin/uu_default_config. m and /cgi-bin/audio/uu_default_co
p nfig.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';
Create a phpinfo file
[works with ALL version of phpmotion]
3. If you need support, you will often be asked by other forum members or our support team
to post your phpinfo page. Here is a howto
Step 1: Create a file on your computer called “info.php”.
Step 2: Edit the file and put this in the file: Code:
<? phpinfo(); ?>
Save the file!
Step 3: Upload the file to the webserver and give the url to the one who's asking for it. For
example: http://www.domain.tld/info.php