ClipShare 4.1 Documentation
I. Server Requirements
Please make sure that your server meets the following configuration.
If you are unsure, contact your hosting company / server administrator for
confirmation.
- Linux Server (some old distributions are not supported)
- Apache Web Server
- MySQL (version 4 +)
- PHP 4 or 5
- PHP Configuration
- safe_mode = off
- max_execution_time = 1000 (recommended to prevent timeouts during video upload/conversion)
- session.gc_maxlifetime = 14000 (recommended to prevent session expires during video upload)
- open_basedir = (no value)
- output_buffering = on
- upload_max_filesize = ***M (where *** is the maximum video upload size in MB)
- post_max_size = ***M (where *** is maximum video upload size in MB)
- GD Library 2 or higher
- Mplayer + Mencoder (http://www.mplayerhq.hu/design7/dload.html)
- Flv2tool (http://inlet-media.de/flvtool2)
- Libogg + Libvorbis (http://www.xiph.org/downloads)
- LAME MP3 Encoder (http://lame.sourceforge.net)
- CGI-BIN Access
- Apache mod_rewrite Enabled
- PHP Configuration (php.ini): register_argc_argv = On
- Must be able to run PHP from the command line (CLI) with exec()
- Allowed execution of background processes with exec("binary > /dev/null &")
II. Installation and Configuration Instructions
- Extract the distribution zip file containing the script.
- Create a new MySQL database for ClipShare and import the dump file
/sql/clipshare.sql using PHPMyAdmin. This will create and populate all DB tables.
- Open /upload/cgi-bin/ubr_upload.pl using any text editor and edit the following variable:
my $TEMP_DIR = '/home/user/public_html/tmp/uploader/';
This is the full path to where the /tmp/uploader/ folder will be located on the server. Keep ending slash.
- Open /upload/include/config.local.php using any text editor and edit the following variables:
$config['site_name'] = 'My Site';
Your web site name.
$config['BASE_URL'] = 'http://www.mysite.com';
This is the URL where the script is installed. No ending slash.
$DBTYPE = 'mysql';
Database type, no need to change.
$DBHOST = 'localhost';
Database host or IP, in most cases "localhost"
$DBUSER = 'database_user';
Database user. Please make sure that this database user has FULL permissions over the ClipShare database.
$DBPASSWORD = 'password';
The password of the above database user.
$DBNAME = 'database_name';
Database name used for ClipShare.
- Optional: Edit /upload/include/language.php to remove / add language files.
- Upload all files and folders inside the /upload folder in the root directory or a subdirectory on your server, by FTP, in BINARY mode.
- Set write permissions (chmod 777) to the following folders:
/flvideo
/video
/thumb
/chimg
/photo
/tmp
/tmp/logs
/tmp/sessions
/tmp/thumbs
/tmp/uploader
/cache/templates_c
- Set execute permissions (chmod 755) to /cgi-bin and /cgi-bin/ubr_upload.pl
- Access your ClipShare Administration Panel at:
http://www.yourdomain.com/siteadmin/ (Default admin user: admin and password: admin)
- Change the admin user / password !!
- Change the site name, email, meta keywords, description, etc
- Optional: change different settings
- Create channels
- Add your advertising
- You can check if all requirements and configurations are met on the "System Check" page
III. Customer Support
If you need help installing or configuring your script, we offer professional installation
service for a flat-fee of $25. We can also install the required modules and configure
your server for a flat-fee of $50. Please contact us at office@clip-share.com or using
the online form.
Website: http://www.clip-share.com
Support Center: http://helpdesk.clip-share.com
Community Forums: http://forums.clip-share.com