I understand CentOS, the question is this. I have a project written in php, according to the logic of which I need to automate to do some command line actions. For example, creating a new user. I kind of figured out the command line, but how do I execute these commands inside the php script?

    1 answer 1

    For example, using the exec () function http://php.net/manual/ru/function.exec.php