You are here: Portal Home > Knowledgebase > Supported Features | Versions > PHP > How to copy PHP.INI to all folders
How to copy PHP.INI to all folders
| Within public_html create a file with the following syntax included within it: <pre><?php system("find * -type d|xargs -i cp --verbose php.ini {}/."); ?></pre>COMPLETE! So, if you labeled the file "copyphpini.php" within public_html and you already have the initial PHP.INI file there, you would go to http://www.maindomain.com/copyphpini.php. This will copy the file to every folder below public_html and should there be any problems, reporting the errors verbosely. |
Also Read

