I have the following in a php file:
$output = shell_exec(dirname(__FILE__) . '/add_sku_to_get_flat_rate_quotes.sh');
When I call that file from a browser, it is supposed to run this .sh command in another file in same dir:
me@myserver:~/public_html/mywebsite.com/symfony$ app/console myaccount:get_flat_rate_quotes sku 7017
Which is supposed to add that sku to a table. When I run that sh command from an SSH terminal, it works. What am I missing?
My web host confirmed shell_exec will work on my server.