Hello, I want to use YIUcompressor. So, I need to open java to my wordpress website. My idea was to create a symlink ln -s /var/www/mysite.fr/private/javabin /pathtojavabin/ But, it doesn't work ! I try include /pathtojavabin in open_basedir. It works... Is there a way to avoid modify open_basedir with symlink or something else ? Many thanks
Take care that /var/www/mysite.fr/private/javabin is owned by the website user and not root or any other user. And the open_basedir of a website can be configured don the options tab of the site, there you can see if the private folder is listed in open_basedir or not.
/private is in open_basedir I check right : root root drwxr_xr_x java For me, open_basedir modification is more difficult to track... With a symlink I can do, for example: `find -name javabin`
First, I have no idea what YIUcompressor is, so this may be obvious to others, but how is it this is run? open_basedir is a php setting, it has nothing to do with a java app (unless maybe you have a php script with is making calls to java cli in the background or similar).
Yes, that's what W3 Total Cache is doing ! For YUI Compressor, let look at http://yui.github.io/yuicompressor/ It is a very powerfull tool for optim Finally, I kept open_basedir... even if more complex to maintain !