Multiple instances of the same script can work simultaneously. It should be noted that performance will degrade scripting at the same time. You should also note that if you interact with the database and the LOCKtable for writing, this cannot be done asynchronously and will cause the queue to be formed (albeit insignificant, depending on the operations performed).
Proof
You can verify this by creating a PHP script that calls exec()somewhere inside and executes another PHP script (or indeed the same one), but be careful not to create an infinite loop). Perhaps drop a timestamp into a file or database so that you can adequately see how this happens.
source
share