Skip to content
Advertisement

How do I chown recursively?

I want to change the owner of a directory recursively using PHP. The chown function works only on a single file.

I know I can use the below command from the terminal:

JavaScript

How do I achieve the same in PHP?

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement