Hosting Articles Technical Articles

How To Install .FLV And .mp4 Modules In Cpanel Server

 

                                             How To Install .FLV And .mp4 Modules In Cpanel Server

Description:

Normal website will run the jpeg and .png images but streaming will not support by default.For .FLV and mp4 videos we need to add modules support to the apache version.

How To Install .FLV And .mp4 Modules In Cpanel Server

Steps:

– Log in to the server with Root access.

– Enter the below path ,

cd /usr/local/src
       wget http://people.apache.org/~pquerna/modules/mod_flvx.c
       /usr/local/apache/bin/apxs -i -c mod_flvx.c

– Now Restart the Apache services.For Live streaming websites install the below streaming modules ,

wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz

  tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz

  cd /mod_h264_streaming-2.2.7

  ./configure –with-apxs=’/usr/local/apache/bin/apxs’

   make install

   /usr/local/cpanel/bin/apache_conf_distiller –update
How To Install .FLV And .mp4 Modules In Cpanel Server01

– Again restart Web services.

Service httpd restart

– Now place the below mention code.

nano /usr/local/apache/conf/includes/pre_virtualhost_global.conf

LoadModule h264_streaming_module modules/mod_h264_streaming.so
<IfModule mod_h264_streaming.c>
AddHandler h264-streaming.extensions .mp4
</IfModule>

LoadModule flvx_module modules/mod_flvx.so
<IfModule mod_flvx.c>
AddHandler flv-stream .flv
</IfModule>

– .mp4 and .flv modules are updates in the configuration file.

– Compile apache with EasyApache option.

Tags:mp4,flv,Cpanel,Whm server,Webserver,Flv format in Cpanel,Mp4 support,Mp4 install in cpanel.

About the author

admin

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.