The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

YUI Compressor

Discussion in 'General Discussion' started by Masimo, Jul 18, 2016.

  1. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tbilisi
    cPanel Access Level:
    Root Administrator
    I need "YUI Compressor" for "W3 Total Cache" wordpress plugin.
    I installed java by below yum command, its not working still...
    yum install java-1.8.0-openjdk

    Code:
    The following minifiers cannot be found or are no longer working:
    YUI Compressor (JS): JAVA executable path was not found. The default minifier JSMin will be used instead.
    YUI Compressor (CSS): JAVA executable path was not found. The default CSS minifier will be used instead.
     
  2. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tbilisi
    cPanel Access Level:
    Root Administrator
    Path to JAVA executable: /usr/bin/java
    Path to JAR file: /home/takserv/www/java/yuicompressor-2.4.8.jar

    Unable to open process (/usr/bin/java -jar --line-break 5000 --type js ).
     
  3. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tbilisi
    cPanel Access Level:
    Root Administrator
    Its a problem on "disable_functions" at php.ini
    I dont know which one caused?
    Here is my disabled functions:
    Code:
    fpassthru,crack_check,crack_closedict,crack_getlastmessage,crack_opendict,psockopen,php_ini_scanned_files,hell-exec,system,dl,ctrl_dir,phpini,tmp,safe_mode,systemroot,server_software,get_current_user,HTTP_HOST,ini_restore,popen,pclose,exec,suExec,passthru,proc_open,proc_nice,proc_terminate,proc_get_status,proc_close,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_setegid,posix_seteuid,posix_setgid,posix_times,posix_ttyname,posix_uname,posix_access,posix_get_last_error,posix_mknod,posix_strerror,posix_initgroups,posix_setsidposix_setuid,perl,rsync,wget,./,python,whoami,cat,perm,find,symlink
     
  4. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tbilisi
    cPanel Access Level:
    Root Administrator
    Great!
    Problem was "proc_open" on disabled function, everything working fine now!
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator

Share This Page