phpmotion installtion for vod services

  • Posted December 3, 2014

i need to have php motion for vod services how to install it in my current lamp server


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


First, you need to download PHPmotion and upload it to your droplet. Make sure you get the PHP 5.3+ version:

Next, SSH in to your droplet, extract the zip file, and move it to /var/www:

sudo apt-get install unzip
sudo mv phpmotion /var/www
sudo chmod -R u+x /var/www/phpmotion/cgi-bin
sudo chown -R www-data /var/www/phpmotion/cgi-bin /var/www/phpmotion/addons /var/www/phpmotion/classes /var/www/phpmotion/logs /var/www/phpmotion/pictures /var/www/phpmotion/temp /var/www/phpmotion/uploads /var/www/phpmotion/setup

Then, add a virtualhost so that Apache serves phpmotion when you browse to your domain. Create a file called phpmotion.conf in /etc/apache2/sites-available with the following content (replace with your domain name`):

<VirtualHost *:80>
    ServerAdmin your@email-address
    DocumentRoot /var/www/phpmotion

    <Directory /var/www/phpmotion>
        AllowOverride All

    <Directory /var/www/phpmotion/cgi-bin>
        Options +ExecCGI
        AddHandler cgi-script .cgi .pl

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

Finally, enable the virtualhost and restart Apache:

sudo a2ensite phpmotion.conf
sudo service apache2 restart

You should then be able to browse to and run the installation wizard.

I get a blank page on step 2 of installation. Please help me to fix this.