i need to have php motion for vod services how to install it in my current lamp server
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I get a blank page on step 2 of installation. Please help me to fix this.
Hi,
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
unzip phpmotion.zip
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 videos.example.com with your domain name`):
<VirtualHost *:80>
ServerAdmin your@email-address
ServerName videos.example.com
ServerAlias www.videos.example.com
DocumentRoot /var/www/phpmotion
<Directory /var/www/phpmotion>
AllowOverride All
</Directory>
<Directory /var/www/phpmotion/cgi-bin>
Options +ExecCGI
AddHandler cgi-script .cgi .pl
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Finally, enable the virtualhost and restart Apache:
sudo a2ensite phpmotion.conf
sudo service apache2 restart
You should then be able to browse to http://videos.example.com/setup and run the installation wizard.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.