PHPmotion安装说明
条评论The following instructions only apply to Version 2 of PHPmotion. For V1 please refer to the instructions provided inside the downloaded zip file
Determin what versin of PHP is running on your server. There are 2 ways to do this
Ask your web hostimg provider
Use a phpinfo() file Create a phpinfo file
Download the appropriate version of phpmotion for your server (From our forum). We provide a version for both PHP4 and PHP5 servers
Unzip the files on your computer
Using your web hosting control panel or similar, create a mysql database and write down the details of the database once created
Upload all the phpmotion files into your FTP folder
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
CHMOD all the following files and directories to 755
/cgi-bin/all files in there
/cgi-bin/audio/all files in there
Start the installation wizard by going to http://YOUDOMAIN.COM/setup (replace with your real domain name)
IMPORTANT NOTES
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/)
Follow ALL the standard setup instructions above
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
/cgi-bin/uu_default_config.pm and /cgi-bin/audio/uu_default_config.pm
open each file and locate the section with:
1 | config_file_name => 'uu_default_config', |
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:
1 | $path_to_upload_script = '/cgi-bin/uu_upload.pl'; |
$path_to_upload_script = ‘/myvideos/cgi-bin/uu_upload.pl’;
$path_to_ini_status_script = ‘/myvideos/cgi-bin/uu_ini_status.pl’;
1 |
1 |