We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

minifier not working

I'm trying to get the js- and cssminifier working. I keep getting this error message:

 Non-free jsminifier not available

It used to work in a earlier version of phalcon. does anyone know what this error massage is trieing to tell me?

I use the standard libs for minification:

use Phalcon\Assets\Filters\Cssmin;
use Phalcon\Assets\Filters\Jsmin;


98.9k

It seems Phalcon was compiled with disabled cssmin/jsmin:

cd cphalcon/build/safe
sudo phpize --clean
phpize
./configure --enable-phalcon --with-non-free
make
sudo make install