Use PHP7.4 proc_open() option to start without shell #64
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
suggestion
support
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-warlock#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As of PHP7.4 the cmd parameter may be passed as an array which will cause the program to be started directly without going through shell. See description of cmd at https://www.php.net/manual/en/function.proc-open for details.
I would like to try and get this working where we detect the PHP version and if we are >=7.4 we will use this feature so we can limit the amount of processes running. This aids in admin when using
ps
on linux to see if services are running.created merge request !35 to address this issue
mentioned in merge request !35
mentioned in commit
6970f360e5