Steps to Install PHPMotion in a Sub Directory

PHPMotion will not work properly when installed inside a sub directory on the server. You will not be able to upload videos until you make necessary modifications to the relevant files as mentioned below

Step 1

Edit the following files

/cgi-bin/uu_default_config.pm 
/cgi-bin/audio/uu_default_config.pm

Note – Locate files inside cgi-bin and cgi-bin/audio folders

Provide your folder name by substituting the entry – myvideos for the following parameters

temp_dir
upload_dir
redirect_url
path_to_upload

Step 2

Edit the following files located on the root of the domain

/audio_uploader_conlib.php 
 /uploader_conlib.php

Provide your folder name by substituting the entry – myvideos for the following parameters

$path_to_upload_script
$path_to_ini_status_script

Step 3

Edit .htaccess file located on the root with the name of your installation folder. The default folder name is myvideos as you can see in the below snippet.

#----- if phpmotion is installed in a sub directory edit the RewriteBase as follows -----#
  # EXAMPLE => RewriteBase /myvideos
  # EXAMPLE => RewriteBase /myvideos
RewriteBase /

I was able to successfully upload videos after doing the above modifications. However, few pages on the demo install still doesn’t work properly and throws HTTP 404 error.

If you are a beginner, you should install PHPMotion on the root to avoid the above procedure.

Looking for quality PHPMotion Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , | Posted under cPanel/Linux Hosting, PHPMotion | RSS 2.0

Author Spotlight

Anand Narayanaswamy

Anand Narayanaswamy

Anand works as a freelance writer based in Trivandrum, India. Anand runs NetAns, which provides hosting for developers and small scale businesses. He also provides blog installation services.

Leave a Reply

Your email address will not be published. Required fields are marked *


× 8 = 72

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>