Ubuntu Apache2 PHP execute permissions

apache-2.2permissionsUbuntu

I'm having this problem in PHP using exec():

sh: CutyCapt: Permission denied

So, how do I give permission to the apache user or www-data user to execute CutyCapt?

Best Answer

Every time you want to execute a script you should add excecute permission:

chmod +x /path/name/of/your/script
Related Topic