PHPFox is PHP based social network platform and this tutorial will help you through the installation process.
The installation takes about 15 minutes and it’s very straightforward.
You need an FTP client, such as free Filezilla, for uploading files to your web server.
Of course, as for many other scripts you do not need to know PHP programming language.
Before you start the installation you need to download the latest release from phpFox site and decompress the files.
Preparation and uploading
The decompressed zip archive contains the following structure:
tools/
upload/
readme.html
Navigate to the “upload” folder that has the following structure:
file/
include/
install/
module/
static/
theme/
favicon.ico
htaccess.txt
index.php
robots.txt
Note: In case that you want to set up a load balanced website install the script in only one of the servers, with the load balancer disabled or distributing to only one of the balanced servers, and after the installation process is finished copy the phpFox filesto the other servers and then re-enable the load balancer and distribute the load among all the servers.
Rename the file
include/setting/server.sett.php.new
to
include/setting/server.sett.php
The next step is to upload the files located in the upload folder to your server with an FTP client. Do not upload the content of the “tools” folder and readme.html file.
Permissions setup
There are some files and folders that need to have write permission for executing some tasks.
Here are folders and files that need full write permissions (I.e. 777) in order for the phpFox 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
After you have changed permissions continue to the next step.
Using the PHPFox web-installer
Point your web browser to yoursite.com/install/index.php in order to start the phpFox web based installer (of course, substitute this URL with your real site).
Follow the next steps.
1) Verification
The installer first checks if your domain has a valid product license. There are a couple of ways you are allowed to run a licensed product.
– You can run it on a licensed domain
-Also, you can run a test site only for development purposes in a folder, sub-domain or localhost. The folder or sub-domain must be named either development or phpfoxdev and must be access protected. For example:
http://www.yoursite.com/phpfoxdev/
http://www.yoursite.com/development/
http://phpfoxdev.yoursite.com/
http://development.yoursite.com/
http://localhost/
http://127.0.0.1
2) License agreement
Accept the License Agreement in order to continue to the next step.
3) Requirements check
This step will check if your server meets the software requirements and all the required folders and files have the valid permissions.
4) Configuration
In this step you’ll need to enter configuration details, e.g. host, DB name, username and password.
VIDEO MODULE CONFIGURATION
These settings are optional and only should be populated if you want to use the video module. In this case the installer will attempt to find the correct paths for codecs. These parameters can be changed later from the AdminCP.
5) Installer
The installer will install all the required database tables and insert data depending on what modules are being installed.
6) Administrators account setup
Complete the form in order to create your administrators account.
7) File permissions configuration:
You need to change permissions of some files and folders:
– file: include/setting/server.sett.php need to be 444 (not writable)
– folder: file file/ to be 555 (only the folder “file”)
Also, will be required to delete the folder “install”
8) Complete
Congratulations phpFox is installed!