Install Image Hosting Script Step-by-Step
By Halima on Nov 23, 2007 in Featured, How-To
How to install the Mihalism Multi Host Image Script using CPanel instead of FTP software. And I’m not some PHP guru. I’m still a beginner, so if you would like to add something to this guide then feel free to. These are the steps I took to install it and it works perfectly perfect.
This step-by-step guide is going on the assumption that you are using one domain per webhost account. If you are using addon domains, then … you’ll want to make sure you install the script in the proper folder associated with the domain where you want your image script hosted in.
This step-by-step guide is as basic as it gets, that means I didn’t give any shortcuts. I could have used keyboard shortcuts in the guide, but chose not to. However, if you know shortcuts that’s cool; feel free to use them. But I prepared this guide to be extremely basic for anyone to do and free of charge. So use it. hehe. If you don’t have the time or don’t want to do it yourself, then I can install it for you on your own web host for a fee. Just contact me.
Sections of this guide include:
- Downloading Instructions
- Create a MySQL Database
- Uploading Instructions
- Extraction (Un-Zip) Instructions
- Making files Writable for Installation Purposes (CHMOD) Instructions
- Installation of Script Instructions
- For Security CHMOD to Default Instructions
- Sample Sites I Installed the Script On
*****************************
Downloading Instructions
*****************************
- Click here to Download the Mihalism Multi Host zip file and save it to your desktop (easier and quickly accessible. If the link isn’t working head over to their MMH forum and see if they changed the download link.
- Open the downloaded zip file
- Extract to desktop (it will automatically create a folder called ‘mihalism_multi_host’ with the files in it
- Double click on the folder after it’s done extracting
- Double click on ‘hosting’ folder within that folder
- Go to the ‘Edit’ menu at the top of that window and ‘Select All’ to select all files in that folder
- Go to the ‘File’ menu at the top of the screen
- Click on ‘Send To’ option and then ‘Compressed (zipped) Folder’ - (This will create a zip file within that same folder of all the files and name it the same as the first file in that folder. In this case, the css folder is the first listed so the zip file was automatically named css.zip)
- Click ONCE on that zip file to select it - (If yours wasn’t called css.zip, then just find the only file in that folder with a .zip extension.)
- Go to ‘Edit’ menu
- Click on ‘Cut’
- Exit out of that screen by going to ‘File’ menu then selecting ‘Close’ (or just click the ‘x’ in the far top right corner of the window)
- Right click on any area on your desktop
- And click ‘Paste’ - (This will paste the zip file there for easier accessibility when uploading time comes.)
******************************
Create a MySQL Database
******************************
- Log into your Cpanel of your webhosting account
- Click on the ‘MySQL® Databases’ icon or link
- Scroll down if needed until you see a field reads ‘New Database’ and enter a name for your database (make it short like up to 7 characters)
- Click on ‘Create Database’ button to the right of that field - (You’ll be taken to a page that tells you your database was created.)
- Click on the ‘Go Back’ link found on that page.
- Go to the ‘Current Users’ section on that page (may need to scroll down to find it)
- Create a username (up to 7 characters)
- Create a password
- Click on the ‘Create User’ button to the right of the ‘Password’ field - (You’ll be taken to a page that tells you your account was created. Now write down the username and password you chose)
- Click on the ‘Go Back’ link found on that page.
- Scroll down to the ‘Add Users To Your Databases’ section
- Select your username in the ‘User’ field
- Select your database name in the ‘Database’ field
- Make sure the ‘All’ box is checked under ‘Privileges ‘
- Click the ‘Add User To Database’ button - (You’ll be taken to a page that tells you your account was added. Now write down your username as shown on that page and your database name.)
- Click the ‘Home’ link found at the top of the page to go back to your Cpanel’s front page.
**************************
Uploading Instructions
**************************
- Click on ‘File Manager’ icon or link
- Click on ‘public_html’ folder (not the link)
- Click on ‘Upload file(s)’ option (the black UP arrow icon or link)
- Click the first ‘Browse’ button you see
- Locate and select the ‘css.zip’ file on your desktop
- Click the ‘Open’ button
- Click the ‘Upload’ button
- Once it’s done uploading it will automatically go back to the ‘File Manager’ page where the file was uploaded to
***********************************
Extraction (Un-Zip) Instructions
***********************************
- Click on the ‘css.zip’ file one time
- On the right side of the screen, click on ‘Extract File Contents’ - (A window will pop open showing you all extracted files. Click out of that screen; close it.)
- Click on ‘Delete File’ - (This will toss the zip file in the trash since you won’t need it anymore and then will automatically refresh the page so you can see all of your extracted files.)
- Click on the ‘Trash’ icon to remove the zip file from the server.
****************************************************************************
Making files Writable for Installation Purposes (CHMOD) Instructions
****************************************************************************
- For the ‘files’ folder, click on the ‘files’ link one time
- On the right hand side of the screen, click on ‘Change Permissions’
- Check all of the empty boxes (leave the checked boxes checked) - The ‘Permission’ boxes should read 7 7 7.
- Click on the ‘Change’ button - (The page will automatically refresh with the changes made.)
- Click on the ‘config.php’ file one time
- On the right hand side of the screen, click on ‘Change Permissions’
- Check all of the boxes - The ‘Permission’ boxes should read 7 7 7.
- Click on the ‘Change’ button - (The page will automatically refresh with the changes made.)
************************************
Installation of Script Instructions
************************************
- Click on the ‘install.php’ file
- On the right side of the screen, click on the ‘File URL’ link - (Or you can just type in a new window the url (http://www.yourdomain.com/install.php))
- Scroll down to the ‘Install Mihalism Multi Host v3.1.2′ section and fill in the necessary information:– MySQL Host (If you have another name for it and know it, then put it here. Otherwise keep it as is. Mine shows as ‘localhost’ by default, so I kept it as it was.)– MySQL Database (The name of your database from the database instructions above that I instructed to write down. Should be in the format of ‘yourcpanelusername_databasename’)– MySQL User (The name of your database from the database instructions above that I instructed to write down. Should be in the format of ‘yourcpanelusername_databaseusername’ )– MySQL Password
– Admin UserName
– Admin Password
– Admin Password [confirm]
– Admin E-Mail - Click the ‘Do Install’ button - (You will be taken to a page telling you that the install was successful.)
- Click on the ‘Continue To Website’ link to view your site with the successfully installed script.
************************************************
For Security CHMOD to Default Instructions
************************************************
- Click on the ‘config.php’ file
- ‘Change Permissions’ back to what it was before installation, by unchecking the following boxes:– ‘Write’ row - uncheck the 2nd and 3rd boxes
– ‘Execute’ row - uncheck all three boxes (1st, 2nd, and 3rd) - The ‘Permission’ should read 6 4 4 - Click the ‘Change’ button - (The page will automatically refresh with the changes made.)
- Click on the ‘install.php’ file
- On the right side of the screen click on ‘Delete File’
- Click on the ‘Trash’ icon.
And you are done with the installation.
The modifications and graphics are all up to you from here on out!
******************************************
Sample Sites I Installed the Script On
******************************************
You can view the one’s I installed and modified and created graphics for here:
Traffic, traffic, traffic!
Enjoy your script.
If you enjoyed this post, make sure you subscribe to my RSS feed!
To submit feedback about this post, please use the contact form.





thanks for the tutorial..how can i get traffic for my image hosting site?
cybersix | Jan 4, 2008 | Reply
You’re welcome. Traffic is really not my area of expertise. I get traffic to mine from search engines largely Google and forum signatures. So you can start with either of those or both. If anyone reading has anything to add, please feel free to. Thanks.
Halima | Jan 4, 2008 | Reply
How did you get to configure the options? I have the site up and running but I dont know where to change options for renaming the name of the site , plus that bit which says “welcome “site where you came from” visitor”
Orcwar | Feb 16, 2008 | Reply
As far as the changing the name of your site:
As far as the welcome message on the main page, the information is in the index file. The part that begins with: “Welcome…” You can click CTRL-F and type in ‘Welcome’ to find it real easy.
Halima | Feb 16, 2008 | Reply