YouTube-to-Mp3 Converter :: PHP Script Documentation v1.0

YouTube-to-Mp3 Converter :: PHP Script

Updated: 2/1/2021
By: Randall Jaffe

Thank you for purchasing my software. If you have any questions that are beyond the scope of this help file, please feel free to email me. Thanks so much, and enjoy!

Table of Contents

  1. Features
  2. Server Requirements
  3. Server Configuration
  4. Software Installation
  5. Support Options
  6. Extended License

A) Features - top

This software does the following for you:

B) Server Requirements - top

This software requires the following:

C) Server Configuration - top

Need help setting up the server?:

D) Software Installation - top

To install the software:

  1. Unpack/Unzip the distribution file and upload the contents to a new directory on your web server via FTP
    • On Linux systems, this directory should be set to chmod 0755 permissions or lower
  2. On Linux systems, review the test results in the opening "config check" utility and correct any errors per the corresponding, provided instructions
  3. Ensure that the 'store' folder (in your new directory) has write permissions
    • On Linux systems, this means setting folder permissions to chmod 0777
  4. Set the location of FFmpeg in "lib/Config.php" via the _FFMPEG constant
    • On Windows systems, this is something like '/YourDirectory/ffmpeg.exe'
    • On Linux, this will usually be '/usr/bin/ffmpeg' or '/usr/local/bin/ffmpeg'. However, if you've performed a one-click installation via the software's "config check" utility, then this will generally be something like '/var/www/html/store/bin/ffmpeg'
  5. Configure additional constants/variables in "lib/Config.php" as needed
  6. Set up schedule.php as a scheduled task (or cron job on Linux systems) if you require old, converted files to be deleted on a regular basis
    • The age of files marked for deletion is configurable via the _MAX_AGE_FILES constant value in "lib/Config.php"
    • It is recommended that the scheduled task run daily (at least)
  7. IF you want to rotate outgoing IPs for YouTube downloads/conversions:
    • Set the corresponding constant values in "lib/Config.php"
    • Configure additional IPs as "outgoing network interfaces" and/or "proxies"
    • Use the SQL in 'docs/ips.sql' to build the required database table
  8. Navigate to index.php of your new directory, and start converting videos!

E) Support Options - top

Stuff you might like to know about software suport:

  1. 100% Free support for life!
    • Ask me a question, and I'll answer it!
    • Working directly on your server is not free.
  2. Regular updates/fixes to the software are FREE!
    • Follow us on Facebook and/or subscribe to the support forum thread to be notified of new versions.
    • If you purchased the software via,, or, then you will be e-mailed links to download new versions as and when they are released.
  3. See The Official FAQ for ways to troubleshoot common issues.
  4. Human support for this script is provided via:

F) Extended License - top

If you plan to load this software on multiple websites and/or repackage all or some of the software code in your own application that is redistributed and/or sold for profit, then you MUST buy an extended license. An extended license costs $299.50 (the cost of 10 individual licenses). There are no exceptions to this rule, and violators will be prosecuted. Please contact me at to arrange the purchase of an extended license.

Once again, thank you so much for purchasing my software. As I said at the beginning, I'd be glad to help if you have any additional questions or concerns. In that case, please email me at:

Go To Table of Contents