Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

YUI Compressor

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

  1. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    70
    Likes Received:
    2
    Trophy Points:
    8
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    70
    Likes Received:
    2
    Trophy Points:
    8
    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 ).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    70
    Likes Received:
    2
    Trophy Points:
    8
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Masimo

    Masimo Well-Known Member

    Joined:
    Nov 19, 2015
    Messages:
    70
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Tbilisi
    cPanel Access Level:
    Root Administrator
    Great!
    Problem was "proc_open" on disabled function, everything working fine now!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,704
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see you were able to determine the cause of the problem. You can find more information on this PHP function at:

    PHP: proc_open - Manual

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice