This page contains a Flash digital edition of a book.
20 21 22


/usr/local/cpanel/bin/rebuild_phpconf


You finally got your php handlers and suexec options set perfectly in WHM, great! But you have a hundred other servers to set that on, surely there's got to be a better way. Indeed there is. You can use this script to set up the default php version, the php handler and whether or not suexec is enabled. With this, you'll be able to get those settings imported to your other servers in no time at all!


23 24 25 26


/scripts/rebuilddnsconfig


Oh no, something happened while editing your dns configuration file and now it's a horrible mess that would take way too long to fix by hand. Just move that broken one out of the way and run this script and it will build you a fresh new one. Ahhh...don't you just love the smell of DNS in the morning?


27 28 29 30


/scripts/runweblogs


Stats are quite important to a lot of customers, but they only update about once a day, so what do you do if a customer wants them updated now, or wants to be sure they're fully up to date? Run this script with their username as an argument and it will update the stats for all of their enabled log programs!


With those at your side, your time in the shared hosting industry will be much easier. Be sure to check out the other scripts on the server, as there are many more helpful ones than just the ones I listed here.


31 32 33 34


/scripts/phpextensionmanager


You've got everything working perfectly, only to find out now you need to install IonCubeLoader for php, but EasyApache takes too long to run. That's where this script comes in. It will let you install some popular php extensions without having to rebuild everything. Quite handy really.


35 36 37 38


/scripts/restartsrv


Last, but definitely not least, is this bad boy. This script (along with its sister restartsrv_* scripts) will let you restart one of many services, safely and nicely, on any supported operating system. No more memorizing different commands for many different operating systems and services! Just use this to safely restart those services.


P! 39


066


For more information visit www.cPanel.net


Page 1  |  Page 2  |  Page 3  |  Page 4  |  Page 5  |  Page 6  |  Page 7  |  Page 8  |  Page 9  |  Page 10  |  Page 11  |  Page 12  |  Page 13  |  Page 14  |  Page 15  |  Page 16  |  Page 17  |  Page 18  |  Page 19  |  Page 20  |  Page 21  |  Page 22  |  Page 23  |  Page 24  |  Page 25  |  Page 26  |  Page 27  |  Page 28  |  Page 29  |  Page 30  |  Page 31  |  Page 32  |  Page 33  |  Page 34  |  Page 35  |  Page 36  |  Page 37  |  Page 38  |  Page 39  |  Page 40  |  Page 41  |  Page 42  |  Page 43  |  Page 44  |  Page 45  |  Page 46  |  Page 47  |  Page 48  |  Page 49  |  Page 50  |  Page 51  |  Page 52  |  Page 53  |  Page 54  |  Page 55  |  Page 56  |  Page 57  |  Page 58  |  Page 59  |  Page 60  |  Page 61  |  Page 62  |  Page 63  |  Page 64  |  Page 65  |  Page 66  |  Page 67  |  Page 68