Skip to content
Apache DocumentRoot Changer
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information. Update Feb 16, 2016
apachange Apache Directory Changer Feb 16, 2016
apachange.php Suppress Apache Message Apr 21, 2016
apache.conf Create apache.conf Feb 16, 2016
setup.php Changed setup.php to overwrite apachange.php Apr 21, 2016


Apache DocumentRoot Changer

Apachange is a Script that makes the Process of changing Apache root easier.

#Requirements PHP 5 or newer version are required to run this script


After Cloning the files run the following command to setup up the script and command

$ php setup.php

The script might ask for Password if the user is not root


Pass arguement -c to set Current Directory as Apache Root

$ apachange -c

Passing no arguement will result in the script asking for path to set the root

$ apachange   //This will ask for path

The command will also Restart the Apache server

#Feedback Have I missed something ? Feel free to make a pull request.

You can’t perform that action at this time.