A
A
Alexander2014-05-24 18:25:35
PHP
Alexander, 2014-05-24 18:25:35

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

1 answer(s)
E
Eugene Obrezkov, 2014-05-24
@ghost1k

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 question

Ask a Question

731 491 924 answers to any question