The Best YouTube Clone Script
Clone or download
daniel daniel
daniel and daniel Fix chars
Latest commit c6af42b Sep 25, 2018

If you are not sure what is YouPHPTube, go to our demo page or visit our official site

First thing...

I would humbly like to thank God for giving me the necessary knowledge, motivation, resources and idea to be able to execute this project. Without God's permission this would never be possible.

For of Him, and through Him, and to Him, are all things: to whom be glory for ever. Amen. Apostle Paul in Romans 11:36

This Software must be used for Good, never Evil. It is expressly forbidden to use YouPHPTube to build porn sites, violence, racism or anything else that affects human integrity or denigrates the image of anyone.

Now you can read the rest...

Important Information

Streamer can be installed on any Server, including Windows, but the encoder and Livestream should work fine on any Linux distribution. However we recommend Ubuntu 16+ without any kind of control panel. The problem with cPanel, Plesk, Webmin, VestaCP, etc. It's because we need full root access to install some libs, and maybe compile them. Another important point is that to make Livestream work, we need to compile Nginx and the control panels often prevent us from running the commands forcing the installation available only on your panel.

I don´t want to read I just want you to show me how to install!!

Ok, check this out!

For text-based tutorials and manual, look here:

There, you can find some hints for troubleshooting as well.

Mobile APP


Are you having a hard time to configure or install YouPHPTube or any of its resources? fell free to ask us for help:

Do you need new features, do you want us to implement it for you?

Funding Us

YouPHPTube - Streamer

YouPHPTube! is an video-sharing website, It is an open source solution that is freely available to everyone. With YouPHPTube you can create your own video sharing site, YouPHPTube will help you import and encode videos from other sites like Youtube, Vimeo, etc. and you can share directly on your website. In addition, you can use Facebook or Google login to register users on your site. The service was created in march 2017.

YouPHPTube - Encoder

Go get it here

Why do I need the Encoder?

You may want to install the encoder for a few reasons: If you have a faster server than the public encoder server (which is likely to happen) or If you'd like a private way of encoding your videos

But the mandatory installation if you are using a private network. The public encoder will not have access to send the videos to your streamer site

If your server does not have a public IP or uses an IP on some of these bands:

  • (Localhost)

Surely you need to install an encoder

Server Requirements

In order for you to be able to run YouPHPTube, there are certain tools that need to be installed on your server. Don't worry, they are all FREE. To have a look at complete list of required tools, click the link below.

  • PHP 5.6+
  • MySQL 5.0+
  • Apache web server 2.x (with mod_rewrite enabled)

Comming version (already in code on master)

  • Better support for Nginx and Microsofts IIS (experimental)

Version 5.6

  • Google analytics per user

Version 5.5

  • Bugfixes & improvements
  • Introduce new video-types (linkVideo and linkAudio)
  • LiveLinks-Plugin

Version 5.4

  • Wavesurfer-visualisation for audio
  • Add dynamic /help-page (also usefull for admins)
  • Embeded videos from youtube are in a native player now (allow plugins for it)
  • New options in advancedcustomised-plugin (minify js, disable add + share-button, disable the above player)
  • Backend-work and tons of fixes for it
  • Better translations (de,es,us,tr)
  • Import videos from filesystem

Version 5.3

  • User now can Verify Emails and Choose the Channel Name

Version 5.2

  • Subscribers now can choose to not be notified from new videos (Need the Notification Plugin)

Version 5.01

  • Category now can have a parent category (enables subcategories)
  • Direct upload and various plugins supports audio
  • Type for categories

Version 5.0

  • Allow Download and disable youtubeupload on configuration menu
  • Category Description
  • Category Next Video Order

Version 4.9

  • Increase SMTP fields space to be able to store largers passwords

Version 4.8

  • Add preferred videos that will randomly appear on first page

Version 4.7

  • Add Channels Browser
  • Add User about field, to be used in their channels

Version 4.6

  • Improve comments system.
  • like/dislike comments
  • reply comments

Version 4.5

  • Set Upload permition for specific users

Version 4.4

  • Next video set-able
  • Play List Sortable

Version 4.3

In this version registered users need the YouPHPTube administrator to grant them permission to transmit streams

Version 4.2

In this version you can embed Youtube and Vimeo Links

What is new on this version 4.0?

Since version 4.x+ we separate the streamer website from the encoder website, so that we can distribute the application on different servers.

  • The Streamer site, is the main front end and has as main function to attend the visitors of the site, through a layout based on the youtube experience, you can host the streamer site in any common internet host can host it (Windows or Linux).
  • The Encoder site, will be better than the original encoder, the new encoder will be in charge of managing a media encoding queue. You can Donwload the encoder here: but to install it you will need ssh access to your server, usually only VPS servers give you that kind of access, that code uses commands that use the Linux shell and consume more CPU.
  • I will have to install the encoder and the streamer? No. We will be providing a public encoder, we will build the encoder in such a way that several streamers can use the same encoder. We are also providing source code for this, so you can install it internally and manage your own encoding priority.

Older version

If you want the old version with Streamer and Encoder together (Version 3.4.1) download it here