How to Install phpFox on Arvixe
Written by Stephanie Brown Tuesday, 22 May 2012
This article will focus on the installation of phpFox within Arvixe. I will walk you through database creation, file upload and chmodding of those files, and completing the basic installation of phpFox.
CREATING THE DATABASE
Let’s start with creating your database. You will need to login to your cPanel control panel, and select the MySQL Database.
Next you want to create a new database. For this tutorial, my database name is liphpfox_fox. You can name your database anything you want to name it.
Next you want to create your database user. For this tutorial, my database user is liphpfox_lopan. Select a password that contains numbers, letters, symbols and capital letters to keep your database more secure. The stronger, more difficult the password is, the harder it will be for the database to get compromised.
Finally, you want to add your new database user to your new database.
You will want to make sure that this database user is given the correct permissions, select the checkbox next to ALL PRIVELEGES to give this database user total access to the database.
When done, the database page should look something like this.
Make sure you remember or write down the database name, username, and password. You will need them during installation of phpFox.
WORKING WITH PHPFOX FILES
When you unpack the zip file you downloaded from phpFox, you will see the following folders and files. We will be working with the files in the upload folder.
Open up your FTP program and upload all the files in the upload folder to your web space. Note: Do not upload the upload folder itself, just the files that are inside of it.
Once all the necessary files are uploaded, we will need to modify permissions for some of them.
In the file folder you want the following folders to be chmodded to 777 (read, write, execute for all):
In the file/pic folder you want the following folders to be chmodded to 777 (read, write, execute for all):
In the file/pic/emoticon folder you want the following folder to be chmodded to 777 (read, write, execute for all):
In the include/setting folder you want to change server.sett.php.new to server.sett.php and chmod this file to 777 (read, write, execute for all).
Now, all the files and folders should be ready for installation!
Navigate your browser to www.yoursite.com/install. This is the installation script for phpFox. You should see a page with the following:
If you have purchased branding removal for your phpFox website, you will need to enter your phpFox account details here and select Submit. If you have not, you can select Skip This Step.
The next step is agreeing to the licensing agreement. Read the license, and select I Agree.
On the next page, you should see something similar to the following screen. If you see anything that says NO, you will need to contact Arvixe and have them make some changes. If everything looks good, select Proceed to next step.
The next screen is where you will fill in the database information. You will want to make sure that you use the full database name and username. Note, for Database Host, you will want to use localhost.
Once you have filled in the information correctly, select Start the Install.
The phpFox script will run through the next few steps automatically, updating you as it goes to what it is doing.
The next step is to create your administrator’s account. Fill out all the information on this screen and click Submit.
Congratulations!! You have completed the installation of phpFox!
Now that you have completed the installation of phpFox, you will want to remove some files and modify permissions.
First thing, you need to login to your FTP program and remove the entire Install directory. Leaving this directory on your server is a security risk.
Next, in the include/setting folder you want to change permissions on server.sett.php and chmod this file to 550 (read and execute for user and group only). If this setting gives you a white screen on your site, instead of the website itself, add read and execute to world as well. Do NOT leave this file as writable at all. For this file, it is best to lock it down as tight as possible because it contains important website configuration information.
Congratulations! You have just installed phpFox on your Arvixe hosting!