Answer the question
In order to leave comments, you need to log in
How does php exec work?
Hi guys.
Maybe a dumb question, how exactly does php exec work?
I pass some command to it, which deals with video conversion.
How does the php script work? does it wait for the end of the work or how to make it wait, for example, to change some data in the database after successful execution?
Answer the question
In order to leave comments, you need to log in
In general, it waits for execution:
For video conversion, it is better to use queues or workers. For example Gearman .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question