PHPmotion is a free-to-use video sharing content management system, written in PHP and using MySQL databases. The software provides the average person the ability to have their own video sharing website. It will allow you to create and run your very own Video Sharing website, Music Sharing Site, Picture Sharing Site. With very little knowledge required, you can now have a website just like youtube.com , dailymotion.com, veoh, hi5 and best of all, its 100% free to download and use
PHPmotion supports many different video formats.
The following is a list of some features that are included with PHPMotion.
- Uploading, managing, and deletion of videos and audio files
- Embedding of videos from youtube
- Create photo galleries
- Built in blogging tools
- Creation and management of groups and member profiles
- Internal email messaging
Requirements
PHP motion software requires a Linux base server as its base OS. I used UBUNTU 10.4as an example in this article.
After many hours and 2 days of endless googling, I have compiled and used the following list of software packages and file configurations to successfully install PHP Motion on Ubuntu server. There are several common audio-video-graphic conversion and playback software packages that need to be installed to support PHPmotion . Additionally, there are a few files that need to be configured on the Ubuntu web server to enable the scripts to run properly. To install software simply start up a command line terminal and type the commands listed in red.
sudo apt-get update sudo apt-get install php5-cli apt-get install apache2 sudo apt-get install php5-cli apt-get install php5-mysql libapache2-mod-php5 sudo apt-get install mplayer sudo apt-get install mencoder sudo apt-get install flvtool2 sudo apt-get install ubuntu-restricted-extras sudo apt-get install build-essential sudo apt-get install ffmpeg apt-get install apache2 php5 php5-gd sudo apt-get install php5-curl a2enmod rewrite /etc/init.d/apache2 force-reload /etc/init.d/apache2 restart
Now you have to Install Phpshield manually which is a required component:
Download phpshield from here
(OR http://phpshield.com/loaders/phpshield.loaders.linux.zip)
After download unzip it and copy the file phpshield.5.2.lin in to /usr/lib/php5/20060613+lfs folder
Now you need to edit the php.ini file using the following command
nano /etc/php5/apache2/php.ini
Add the following line at the end of the file
extension=phpshield.5.2.lin
SAVE and EXIT the file
Now you need to restart apache server using the following command
/etc/init.d/apache2 restart
PHPSHIELD Installation Complete, Now moving further.
Its time to Download PHPmotion
Download it from http://www.phpmotion.com/content/view/1/180/
Now Create a temp folder in / and copy phpmotion.zip in /temp
mkdir /temp cd /temp
Now UNZIP it . . .
unzip phpmotion.zip
Now copy it to your web root folder.
mv phpmotion /var/www/
(Make sure .htaccess file is also copied correctly in /var/www/phpmotion/)
Now Edit /var/www/phpmotion/.htaccess and add your path.
RewriteBase /phpmotion
Now Edit /etc/php5/apache2/php.ini and change this directive.
enable_dl = On
Now change permission for phpmotion root folder.
chmod 777 -R /var/www/phpmotion
Now copy all files from /var/www/phpmotion/cgi-bin to /usr/lib/cgi-bin by issuing following command
cp -R /var/www/phpmotion/cgi-bin /usr/lib/cgi-bin
Now edit /var/www/phpmotion/cgi-bin/uu_default_config.pm and change the following to match the sub directory.
temp_dir => $ENV{'DOCUMENT_ROOT'} . '/phpmotion/temp/', upload_dir => $ENV{'DOCUMENT_ROOT'} . '/phpmotion/uploads$ redirect_url => '/phpmotion/uploader_finished.php', path_to_upload => '/phpmotion/uploads/avi/',
CREATE MYSQL DATABASE FOR PHPMOTION
Create database for phpmotion by issuing following commands.
mysql -u root -p123 create database phpmotion; grant all privileges on phpmotion.* to 'root'@'localhost'; quit;
Basic Setup Complete, Its time to HIT the Setup . . .
Now open Your Browser, then access http://192.168.2.1/setup , then follow the setup process and skip FTP Questions. Make sure you are not missing any dependencies before continuing the setup.
After setup finishes smoothly, Remove / Rename setup directory, example
mv /var/www/phpmotion/setup /var/www/phpmotion/old_setup
NOW YOU CAN ACCESS YOUR NEWLY INSTALLED BY POINTING YOUR BROWSER TO HTTP://192.168.2.1/phpmotion
Common Problems Workarounds:
CAPTCHA IMAGE DOES NOT SHOW IN USER REGISTRATION FORM
Solve CAPTCHA image which is not appearing in registration form, by fixing font’s path (copy the DoradoHeadline.ttf in /var/www/phpmotion/includes/)
Edit /var/www/includes/captcha.php
nano /var/www/includes/captcha.php var $font = ‘/var/www/phpmotion/includes/DoradoHeadline.ttf’;
(More to come . . To Be Continued . . . )
Alhamdolillah !
Regard’s
Syed Jahanzaib
i am trying but facing one problem . problem is “Checking if PHPshield encoded files are working Error! – See detailed explanation below “. i am follow all instruction but problem is same. please help me.
LikeLike
Comment by santonu — February 6, 2012 @ 4:08 PM
It’s Binary related files issue. I am not sure much about it i used this product long time ago, so i am sorry, search google there are many entries in this regard.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — February 7, 2012 @ 9:27 AM
thank for replay Jahanzaib vhai
LikeLike
Comment by santonu — February 7, 2012 @ 11:10 AM
can someone download videos from a page created with PHPMotion?
LikeLike
Comment by Jones — March 5, 2012 @ 6:23 PM
If he have some download mananager type addon installed.
like INTERNET DOWNLOAD MANAGER which can Download videos from all video sites like you tube etc.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — March 6, 2012 @ 2:26 PM
iam from india need phpmotion customisation , so i need developer, can know
you helpme in geting who have worked on it.
LikeLike
Comment by sanjay — March 18, 2012 @ 1:14 AM
There are very few people working on phpmotion. Its a very great software. I also worked on it and manage to customize it for a local cable.network but then stopped working on it due to job switch. Better to post your query at phpmotion forum.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — March 19, 2012 @ 11:04 AM
If you have problems with phpshield (after PHP5.3.x version you will have) follow the link below to be able to continue like I did.
http://ittips.inoneblog.net/2012/03/12/phpshield-loader/
LikeLike
Comment by kostas — October 4, 2012 @ 7:23 AM
By the way I would like to express my best and warmest greetings to Syed Jahanzaib, for his great work and superb tutorials that have been posted at times around here. Congratulations ! Just that.
LikeLike
Comment by kostas — October 4, 2012 @ 8:15 PM
Thank You 🙂
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — October 5, 2012 @ 8:19 AM
salam
sir can u help me?
– Checking if PHPshield encoded files are working Error! – See detailed explanation below
LikeLike
Comment by akbar — November 24, 2012 @ 8:01 PM
Assalamu alikum Bro..This is Nahid from Bangladesh..I want to install PhpMotion on my Xampp server..which is running on a windows 7 pc..I cant install PhpMotion on my pc..Because I dont know how to install it.. Please give some tips how can I install phpmotion on my pc.. Bro I want to make my personal web server with Xampp software in windows pc..But have,t enough knowledge about it please give some Tips..
LikeLike
Comment by GSB NAHID — November 26, 2012 @ 10:07 PM
I have never worked on XAMP because of WIndows abse vnironment is not secure and stable, also it requires licensing, and it have many woking limitations. therefore I recommend you not to use Microsoft for such purpose as its not designed to fulfil this purpose.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — November 27, 2012 @ 11:10 AM
sir mysql error ajata hay how to remove dis???
LikeLike
Comment by waqar ahmad — November 29, 2012 @ 6:13 PM
gr8 work janzib bahi
LikeLike
Comment by Waseem Ahmed — January 20, 2013 @ 7:29 AM
PHP motion site asking question This forum is for what video script? and i don’t know the answer. Can anyone help?
LikeLike
Comment by anas — April 10, 2013 @ 10:35 AM
its “phpmotion”
LikeLike
Comment by ener — June 12, 2013 @ 5:51 AM
bike games
PHPmotion : Howto Create Your own Video Sharing Web Site like YouTube | Syed Jahanzaib Personal Blog to Share Knowledge !
LikeLike
Trackback by bike games — September 5, 2015 @ 3:44 AM
slim gotas emagrece mesmo
PHPmotion : Howto Create Your own Video Sharing Web Site like YouTube | Syed Jahanzaib – Personal Blog to Share Knowledge !
LikeLike
Trackback by slim gotas emagrece mesmo — May 25, 2023 @ 9:41 AM