How To install MP3 Converter Pro

 unzip MP3ConverterPro-v3.*.*.zip && mv mp3converterpro/* mp3converterpro/.??* . && rm -rf mp3converterpro MP3ConverterPro-v3.*.*.zip


composer install --no-dev
https://d.ytmp3.su/installer

Go to https://SERVER_URL:8090/managephp/editPHPConfigs choose the desired php version

; This directive allows you to disable certain functions.
; It receives a comma-delimited list of function names.
; http://php.net/disable-functions
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
/home/ytmp3/logs/d_ytmp3_su.php.error.log

How To install FFmpeg and FFprobe

1) Navigate to "bin" folder

cd /usr/local/bin

2) Download FFmpeg & FFprobe static builds

wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz

3) Unpack Archive file and move binary files

tar -xf ffmpeg-release-amd64-static.tar.xz && mv ffmpeg-*-amd64-static/ffmpeg ffmpeg-*-amd64-static/ffprobe . && rm -rf ffmpeg-*-amd64-static ffmpeg-release-amd64-static.tar.xz

4) Set "executable" permissions

chmod 0755 ffmpeg ffprobe
after that you need to use this .env
APP_NAME="MP3 Converter Pro"
APP_WORKER_NAME="node1"

FFMPEG_BINARIES="/usr/local/bin/ffmpeg"
FFPROBE_BINARIES="/usr/local/bin/ffprobe"

# your settings from admin panel in cache to reduce database overhead.
SETTINGS_CACHE_ENABLED=true

# Set the type of Errors logged in "storage/logs/laravel.log"
# The following values are accepted, ordered from least severe to most severe:
# emergency, alert, critical, error, warning, notice, info, and debug.
LOG_LEVEL=error

# Changing values below is not recommended.
BROADCAST_DRIVER=log
FILESYSTEM_DRIVER=local
QUEUE_CONNECTION=redis
SESSION_DRIVER=database
SESSION_LIFETIME=120
CACHE_DRIVER=redis

APP_KEY=base64:ZjK1H7DyX4a/TTsxJnVu664meLj5lq8M3/PkhuidXDo=

# Your MySQL Database Login details here
DB_CONNECTION=mysql
DB_PORT=3306
DB_HOST=127.0.0.1
DB_DATABASE=ytmp3_download
DB_USERNAME=ytmp3_download
DB_PASSWORD="LT4jK73cOQY7"
REDIS_HOST=127.0.0.1
REDIS_PASSWORD="null"
REDIS_PORT=6379
APP_URL="https://download.ytmp3.su"
APP_ENV=production
APP_DEBUG=false
[24-Aug-2022 08:15:57 UTC] PHP Fatal error:  Uncaught ErrorException: file_put_contents(/home/ytmp3/public_html/d.ytmp3.su/storage/framework/views/0a85c307ad0665a58fdf052ca9ec20d83f3abb27.php): failed to open stream: Permission denied in /home/ytmp3/public_html/d.ytmp3.su/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:187
sudo find . -type f -exec chmod 644 {} \;
sudo find . -type d -exec chmod 755 {} \;
sudo chmod -R 777 ./storage
sudo chmod -R 777 ./bootstrap/cache/

to use widget API from any ip just dont add any IPs restrcitions 


shell script to delet cache files
deletecache.sh
chmod 777 deletecache.sh
#!/bin/sh
php /home/ytmp3/public_html/d.ytmp3.su/artisan schedule:run
for cyberpanel use
/usr/local/lsws/lsphp80/bin# /usr/local/lsws/lsphp74/bin/php /home/download.ytmp3.su/public_html/artisan
 schedule:run
Script error: the ionCube Loader for PHP needs to be installed.
use full php location /usr/local/lsws/lsphp74/bin/php
crontab -e
0 0 * * * /mnt/deletecache.sh
run every 5 min 
*/5 * * * * /mnt/deletecache.sh
/home/download.ytmp3.su/public_html/artisan queue:flush

Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation