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:
Navigate to the “upload” folder that has the following structure:
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
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.
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:
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.
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:
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.
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.
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”
Congratulations phpFox is installed!