|
| |||
|
|
[Print] phpSiteFramework InstallationRequirementsphpSiteFramework's core is procedural PHP so any server running better than PHP 4.x should be OK.
Pre InstallationA standard install of:
OK, lets do a basic installation of SF onto a Win32, Apache2, PHP5 machine without cache functionality. Installing phpSiteFrameworkInstalling SF consists of the following steps:
Configure the SF root and _SF_modules directoriesMake a new directory in the web server document root (or choose the root); this is where SF's modules and your content structure will reside. For our example lets use '/testsite/' Configure Apache's httpd.conf for this directory by inserting:
<Directory [DocumentRoot]/testsite/>
# No options are required for SF
Options None
# No overrides are required for SF
AllowOverride None
# .html files will be treated like .php files
AddType application/x-httpd-php .php .html
# this ensures all the SF modules are available in include path (fix the pear path for your installation)
php_value include_path .;c:\php5\pear;[DocumentRoot]\testsite\_SF_modules
# these are the auto append pre-pend directives
php_value auto_prepend_file "SF_autoprepend.php"
# these are optional and recommended during development
# php_flag display_errors On
# php_value error_reporting 2047
</Directory>
Make a directory in your new 'sf root' (e.g /testsite/) to contains SF's modules. For our example lets use '/testsite/_SF_modules' Configure Apache's httpd.conf for the '/testsite/_SF_modules' directory by inserting:
<Directory [DocumentRoot]/testsite/_SF_modules/>
# inherits everthing else from previous dir
php_value auto_prepend_file none
# A directory restriction is optional but recommended
Install the SF filesPlace the distribution ZIP into your new directory (/testsite/) and unzip. Configure SFOpen file SF_mainconfig.php from _SF_modules directory for editing. Edit the following values from the Site Framework (SF) Main Configuration Settings found near the top of the file. $SF_sitewebpath="/testsite/"; $SF_sitetitle='SF Test Installation'; |
||
|
|
|
|
phpSiteFramework powered |
|