I have php call an R script. When I call R from my php script to do some simple calculations like t-test I get a solution back. However when I call an R script that takes around 30 secs to execute and print the output I don’t get anything. I know that the R script works fine as I’ve tested it. Is it possible that php is timing out or what could be the reason I get output for simple r scripts but when I try to call an R script that takes some time to finish running I don’t get anything?
Share
check out PHP Time Limit
call
set_time_limit(0);at the start of your PHP script.