I am working on project that uses purify-css
https://github.com/purifycss/purifycss
in which I have installed purify-css on the server with npm, now I want to execute the command shown below through PHP and I am using exec() method.
purifycss css/final_css.css test1.html --min --out bootstrap-purify-1.css --info --rejected
but command is not working.If I use this same command directly in terminal then it is working fine. All other commands like "mkdir" and all others are working fine but this command in PHP exec() function is not working.I don't know why?. Thanks in advance. Point out if you notice something.