How to install Mod_h264 and mod_FLV on WHM Cpanel
First, access your server via terminal. Then follow the commands below to install the mods.
cd /usr/local/src
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
make
make install
For Mod_FLV_streaming, follow the commands below one by one.
cd /usr/local/src
wget http://people.apache.org/~pquerna/modules/mod_flvx.c
/usr/local/apache/bin/apxs -cia mod_flvx.c
Then we open our WHM control panel. After opening the Apache configuration section, we open the Include Editor. We select all versions from the In Pre Main Include section and execute the following commands.
AddHandler h264-streaming.extensions .mp4
LoadModule h264_streaming_module /usr/local/apache/modules/mod_h264_streaming.so
LoadModule flvx_module /usr/local/apache/modules/mod_flvx.so
AddHandler flv-stream .flv
After the process, we restart Apache. We can make sure that the modules are working correctly with the following command.
httpd -M
If the bottom two lines are included in the result section, the process has been completed successfully.
h264_streaming_module (shared)
flvx_module (shared)
You can review our Türkiye location VDS packages.
Can't find the information you're looking for?
You have examined the knowledge base in detail, but if you cannot find the information you need,
Create a Support Ticket-
How to Open Ports in Windows?
313 2
-
How to Grant Windows Administrator Privileges?
228 0
-
How to install Webmin on Ubuntu?
881 2
-
Linux SSH Terminal Commands and Explanations
797 3
-
CentOS Stream 10 Update Commands
855 1
-
CentOS Stream 9 Update Commands
1248 2
-
CentOS Stream 8 Update Commands
675 0
-
What is FreeBSD?
857 2
-
Out: 452 4.3.1 Insufficient system storage
768 2
-
Turning Off Automatic Updates in Windows Operating Systems
879 0