2) Add your settings/preferences to the config.php file
Open the config.php file, located in the phpFaqSource document root, with your favorite text editor. It is important the the following are set for your specific domain...
Note that the following are constants being defined using, define('NAME','value'); the first attribute is the constant name and should never be changed, the second is the value that you will be setting.
define('FOLDER','pfs/'); (This is the folder, if any, that phpFaqSource is installed in and represents the phpFaqSource document root.)
define('PFSURL','http://www.yoursite.com/'.FOLDER); (This is the full url to your site, not including the phpFaqSource root folder since it is appended at the end of this constant)
define('DBHOST','localhost'); (This is the database host server for the database created in step one, in most cases it will be localhost, however if you are using a database server not located on the same server as your site, you will need to provide the host name to that server.)
define('DBNAME','pfs10'); (This is the database name that you created in step one)
define('DBUSER','dbuser'); (This is the user assigned to the database in step one)
define('DBPASS','dbpass'); (This is the password for the user assigned to the database in step one)
define('TABLEPREFIX','pfs_'); (This is the prefix that will be added to the beginning of each database table. In most cases this default will work just fine, however if you have more than one installation of phpFaqSource sharing the same database, then you will need to change this to a unique value to differentiate the tables for each installation)
Don't forget to save your changes
The other configuration settings are not required for installation and will not be covered here.
Note that the following are constants being defined using, define('NAME','value'); the first attribute is the constant name and should never be changed, the second is the value that you will be setting.
define('FOLDER','pfs/'); (This is the folder, if any, that phpFaqSource is installed in and represents the phpFaqSource document root.)
define('PFSURL','http://www.yoursite.com/'.FOLDER); (This is the full url to your site, not including the phpFaqSource root folder since it is appended at the end of this constant)
define('DBHOST','localhost'); (This is the database host server for the database created in step one, in most cases it will be localhost, however if you are using a database server not located on the same server as your site, you will need to provide the host name to that server.)
define('DBNAME','pfs10'); (This is the database name that you created in step one)
define('DBUSER','dbuser'); (This is the user assigned to the database in step one)
define('DBPASS','dbpass'); (This is the password for the user assigned to the database in step one)
define('TABLEPREFIX','pfs_'); (This is the prefix that will be added to the beginning of each database table. In most cases this default will work just fine, however if you have more than one installation of phpFaqSource sharing the same database, then you will need to change this to a unique value to differentiate the tables for each installation)
Don't forget to save your changes
The other configuration settings are not required for installation and will not be covered here.




