Installing the Product

This guide will help you through the installation process of phpFox.

Installation is very straight forward, only taking about 15 minutes from uploading the files to logging into your Administration Control Panel (AdminCP).

If you want to save the hassle of installing the product, you're always welcome to order the "Installation Service" and our technicians will do it for you!

We advise that you read this entire documentation to get a greater idea on how to handle the package and solve any issues should they occur.

You will need an FTP (File Transfer Protocol) client, if you do not have one you can download Filezilla for Windows/Linux or InterArchy for Mac.
You do not need an in-depth knowledge of PHP programming to install phpFox, but a working knowledge of FTP functions is a plus.

This guide assumes that you have successfully downloaded the latest release from phpFox and have the ZIP file "unzipped".

Preparation & Uploading of phpFox

At this point you should have the zip archive "unzipped", which should have contents similar to those shown in this structure guide:
  • tools/
  • upload/
  • readme.html

Go into the folder "upload/", which should have contents similar to those shown in this structure guide:
  • file/
  • include/
  • install/
  • module/
  • static/
  • theme/
  • favicon.ico
  • htaccess.txt
  • index.php
  • robots.txt

Rename the file
include/setting/server.sett.php.new
to
include/setting/server.sett.php

Next, upload the files and folders within the "upload/" folder to your site using an FTP client. Be sure to overwrite any old files. Do not upload the folder or the contents of the folder "tools" and do not upload the file readme.html

Once that is completed we can move on to the next step.

CHMOD & File Permissions

With the phpFox package there are certain folders and files that need write permission in order to execute certain tasks.

Below you will find the files and folders that must have full write permission and set to 0777 in order for the script to be installed:
  • file/attachment/
  • file/cache/
  • file/css/
  • file/log/
  • file/music/
  • file/pic/ad/
  • file/pic/emoticon/
  • file/pic/emoticon/default/
  • file/pic/event/
  • file/pic/group/
  • file/pic/icon/
  • file/pic/marketplace/
  • file/pic/music/
  • file/pic/pages/
  • file/pic/photo/
  • file/pic/poll/
  • file/pic/app/
  • file/pic/egift/
  • file/pic/quiz/
  • file/pic/subscribe/
  • file/pic/user/
  • file/pic/video/
  • file/pic/watermark/
  • file/static/
  • file/session/
  • file/video/
  • file/gzip/
  • include/setting/server.sett.php

Once you have completed CHMODING all the needed files and folders continue to the next step.

Using the Web-Installer

An installer is provided to assist you in entering the information phpFox needs to connect to your SQL database.

Run the installer file through your web browser by entering the URL into your browser address bar (if you have followed our example, type in http://www.domain.com/install/index.php , naturally substituting 'domain.com' for your web address.)

Then follow these steps:

Step 1: Verification

We first check if the domain you are attempting to install the product on currently has a valid product license. There are several ways you can run a licensed product. You can run it on a licensed domain, which you provide the full path to where the software will be installed. You can also run a test site only for development purposes in a folder, sub-domain or localhost. The folder or sub-domain name must be called "phpfoxdev" or "development" and must be access protected. Here are some examples:

Step 2: License Agreement

Abide to the License Agreement to continue to the next step.

Step 3: Requirement Check

Step 3 will consist of checking your server if it meets the software requirements and all the required files/folders have the correct permissions.

Step 4: Configuration

This step is where you will need to know your SQL username and password. If you do not know it, please ask your web host - in most cases it is different from the FTP log in information.

The form is very straightforward, with only the following points needing closer examination. If you do not know what your "SQL Host" is, try "localhost" (without the quotes). If the SQL server is on the same server as your website (and in most cases it is) this will suffice. If you have created a new database for phpFox, or wish to use an existing database, enter the name of the database in the appropriate field.

Video Module Configuration

These settings are optional and only should be filled if you plan to use the video module. The script will attempt to find the correct paths for both FFMPEG and MENCODER, however you should verify if they are correct with your host. If at any time these settings are incorrect you can change them directly from the AdminCP at a later time.

Step 5: Installer

The installer will now be automated until the final step. It will install all the required database tables and insert any data into each of the tables depending on what modules are being installed.

Step 6: Administrators Account

Fill out the form to create your administrators account.

Step 7: Complete

Congratulations phpFox is installed!

Comments
Only verified clients can post comments on our community. If you have any questions feel free to contact us here.
ispartytime wrote at January 16, 2012, 12:45 pm
0 Votes

this is for v3? because in the new version a couple of folders where added within /file/ and I don't see them mentioned on the CHMOD section

ispartytime
lochoe wrote at December 12, 2011, 8:06 am
0 Votes

i cant create admin account, the location select form is blank, so i cant add any place, pleaseeee helppp this is so troubleeeee

lochoe
YAU FAI CHAN wrote at November 28, 2011, 5:57 am
0 Votes

Hi , may I know how to install the tool which is location in tool folder ?

YAU FAI CHAN
getliveads wrote at October 27, 2011, 3:13 pm
0 Votes

Hi, Some very basic question, do we need to upload both the below folders after the changes u mentioned in installation guid.
tools/
upload/

Or as written above (Next, upload the files and folders within the "upload/" folder to your site using an FTP client. Be sure to overwrite any old files.) do we have to only upload files and folders within the upload/ folders in root directory.

getliveads
DMAN wrote at October 13, 2011, 11:05 am
0 Votes

Posted October 13, 5:51 at http://www.phpfox.com/forum/troubleshooting-and-pr...

“From the blog posts
Documentation
Our documentation can be found here. Note that the documentation for installing the product for v3 is the same as v2. The guide is missing certain files that need to have "write" permission, however the installer will guide you on those extra folders that need to be updated.”

Last Update on October 13, 2011, 11:07 am by DMAN
DMAN
TheFurryDrifter wrote at September 7, 2011, 4:06 pm
1 Vote

file/gzip/:
file/pic/app/:
file/pic/egift/:

These need set permissions for v3 - maybe update the article to include this

TheFurryDrifter
GCL wrote at September 2, 2011, 7:31 pm
0 Votes

I cant install phpfox, please help
www.mydomainname.com/install/index.php white page :S no data no entry

tested: ie, firefox, safari, opera

Last Update on September 3, 2011, 3:10 am by GCL
GCL
Divinity wrote at October 16, 2011, 12:56 pm
0 Votes

How did you get passed the white page when trying to use the web-installer? I cant seem to find any answers for anything!

Divinity
jd1 wrote at June 21, 2011, 6:15 am
0 Votes

Just set up development site using MAMP Pro for Macintosh (MacbookPro quad core i7)... it doesn't get any easier! I do second VBT's comment regarding addendum to the install instruction of the need to create a database prior installation. Also, Filezilla 3.5 is an excellent FTP client for the new Macs.

Last Update on June 21, 2011, 6:16 am by jd1
jd1
Linus wrote at June 13, 2011, 5:30 am
1 Vote

If you get a blank screen after filling the database details, you can try to add the line:
error_reporting(E_ALL);

at the top in the file located in /install/include/installer.class.php to get error information. In my case some file(s) was corrupted during upload.

Linus
phpArthur wrote at February 3, 2012, 3:32 pm
0 Votes

Yes, I get errors.
Anybody here who can fix it?

phpArthur
phpArthur wrote at February 3, 2012, 1:13 pm
0 Votes

Thank you! I will try right now

phpArthur
Matthew Shannon wrote at June 5, 2011, 8:06 pm
1 Vote

I cant install phpfox, where do i find help.

Matthew Shannon
GCL wrote at September 2, 2011, 12:26 pm
1 Vote

yes me to, blank (white) page , no text ne entry :S

GCL
Displaying 1 to 10 of 18