Hello,
well i'm working on scheduling system right now and when I call my schedule using [php /home/mkhell/watering/artisan schedule:run] after each schedule run, the email that the server sent to me will show me an error
[ErrorException]
escapeshellarg() has been disabled for security reasons
so what should i do ? should i enable it ? or do something else ?
The function has been disabled in the php.ini file. It is quite common to disable various insecure functions (seen from the perspective of a server administrator).
If you are using shared hosting then there is probably not much you can do about it. Try asking your provider. If you can edit php.ini then open it, find the disable_functions field, and remove escapeshellarg from the list. Then restart the server. That should enable the function.