I'm using this package to run my bash:
use Symfony\Component\Process\Process;
use Symfony\Component\Process\Exception\ProcessFailedException;
I got this error when I want to run my bash inside laravel:
The process ***/my.sh exceeded the timeout of 60 seconds.
$process = new Process('sh ***/my.sh');
$process->run();
// executes after the command finishes
if (!$process->isSuccessful()) {
throw new ProcessFailedException($process);
}
my max_execution_time inside phpinfo function is 240. I restarted my server.
my safe_mode is off. I used this function :
set_time_limit(0);
above my code, but after 60 seconds I got the same error message.
my .htdaccess is 240 seconds.
any idea?