Home / Language / English / copy php.ini files to subdirectories

copy php.ini files to subdirectories

make copyphpini.php file with the following line and put it in the main root folder (public_html) and navigate to it from a brower. It will copy the php.ini (in the public_html) to all the subfolders

{+}

<pre><?php system(“find * -type d|xargs -i cp –verbose php.ini {}/.”); ?></pre>COMPLETE!

About Mohammad Khazab

Leave a Reply

%d bloggers like this: