Installation of PHP Business Directory
(for version 2.0.0 or above)
A new installation of ApPHP Business Directory is a very straight forward process:
Step 1. Uncompressing downloaded file.
Uncompress the PHP Business Directory version 2.x.x script archive. The archive will create a directory called "PHPBD_2xx"
Step 2. Uploading files.
Upload content of this folder (all files and directories it includes) to your document root (public_html, www, httpdocs etc.) or your micro-cms directory using FTP. Pay attention to DON'T use the capital letters in the name of the folder (for Linux users).
For example:
public_html/or
public_html/{business-directory}/
Step 3. Creating database.
Using your hosting Control Panel, phpMyAdmin or another tool, create your database and user, and assign that user to the database. Write down the name of the database, username, and password for the site installation procedure.
Step 4. Settings and access rights.
4.1. Check access permissions to images/uploads/ and wysiwyg/addons/imagelibrary/. You have to set up 755 rights to these folders. Also check if your script is available to change permissions to include/ folder. If not - set manually 777 rights to this folder and return them back to 755 after the installation was completed.
4.2. If you run PHP Business Directory on IIS, you have to allow rewrite mode for Windows. To do this, open the httpd.conf file and uncomment the following lines (remove the trailing #s):
#LoadModule rewrite_module modules/mod_rewrite.so
#AddModule mod_rewrite.c
Step 5. Running install.php file.
Now you can run install.php file. To do this, open a browser and type in Address Bar
{www.example.com}/install.phpor
{www.example.com}/{business-directory}/install.phpFollow instructions on the screen. You will be asked to enter: database host, database name, username and password. Also you need to enter admin username and admin password, that will be used to get access to administration area of the site.
Step 6. Deleting installation files.
After successful installation you will get an appropriate message and warning to remove install.php file and install/ directory. For security reasons, please delete them immediately.
Congratulations, you now have PHP Business Directory v2.x.x. Installed!