• Resolved therealgilles

    (@chamois_blanc)


    Hello,

    I am wondering what the following message means:

    COMPRESSING WITH MINIFY (PHP exec not available or java not found)

    And I mean the part about ‘PHP exec not available or java not found’.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author launchinteractive

    (@launchinteractive)

    Hi, MMR will try to minify javascript with Google Closure if it can execute the java file from PHP. It looks like your hosting doesn’t allow this. Your javascript will be minified with PHP Minify instead.

    Closure will typically result in better minification and smaller files but it takes longer and needs hosting permission.

    Thread Starter therealgilles

    (@chamois_blanc)

    Just one more question. It looked to me like using java is more CPU intensive. I know java is not particularly lean. Does that track with your experience?

    It would be great if there were an option to not use java even if it is available.

    Thank you ??

    PS: It would also be great to get some kind of reporting if the minify libraries are not able to minify. I expect they would report an error status.

    Plugin Author launchinteractive

    (@launchinteractive)

    Yes in my experience Java does use more CPU. I’ll see if we can add those features. If you have the skills feel free to have a go and provide a patch.

    Thread Starter therealgilles

    (@chamois_blanc)

    Okay thanks for confirming. I may give it a go.

    Thread Starter therealgilles

    (@chamois_blanc)

    I saw you already implemented this through PHP global variables. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘COMPRESSING WITH MINIFY (PHP exec not available or java not found)’ is closed to new replies.