The following prerequisites are REQUIRED for FastFrame to function properly.
FastFrame and its applications are developed under the Apache webserver, which we recommend. Apache is available from http://httpd.apache.org/
NOTE: To insure file security you need to enable .htaccess files for the directory in which you installed FastFrame. This can be done by putting the following in your httpd.conf:
<Directory /path/to/FastFrame> AllowOverride All </Directory>
PHP is the interpreted language in which FastFrame is written. You can obtain PHP at http://www.php.net/
Follow the instructions in the PHP package to build PHP for your system. If you use Apache, be sure to build PHP as a library with the –with-apache or –with-apxs options to ./configure, and not as a standalone executable.
The following PHP options are REQUIRED by FastFrame (listed with their own prerequisites and configure options). In many cases, the required libraries and tools can be obtained as packages from your operating system vendor.
PEAR is short for “PHP Extension and Application Repository”. The goal of PEAR is to provide a means of distributing reusable code. FastFrame relies heavily on PEAR in order to avoid rewriting the wheel and benefit from the high-quality code available with PEAR. For more information, see http://pear.php.net/
These PEAR modules are REQUIRED to be installed for complete FastFrame functionality:
pear install File
pear install HTML_Common pear install HTML_QuickForm
pear install Net_UserAgent_Detect
pear install Mail pear install Mail_mime
These PEAR modules are RECOMMENDED to be installed for complete FastFrame functionality:
pear install Validate
pear install DB_NestedSet
pear install DB_ldap
pear install HTML_BBCodeParser
pear install HTTP_Request
This method of installing PEAR modules requires that your PHP has been compiled as a static binary. If you installed PHP as a webserver module, recompile PHP without the module option (for Apache, without BOTH –with-apache and –with-apxs) and do a make install.
Note that recent versions of PHP (4.3.0+) build both a SAPI module (Apache, CGI, etc.) and a command-line (CLI) binary at the same time. Check if you have a php binary in /usr/local/bin (/usr/bin if if you installed from an operating system package) before recompiling.
if you receive the error “Could not read cmd args”, you should run the pear script this way: php -d register_argc_argv=1 _PEAR_ install _URL_
_PEAR_ is the complete path of the pear script installed by PHP during installation (e.g. /usr/local/bin/pear). Make sure the ‘pear’ script appears in your path. The default installation path for pear is ‘/usr/local/bin/pear’.
_URL_ is the URL, listed above, which you wish to download from.
For more detailed directions on installing PEAR modules, see the PEAR documentation at http://pear.php.net/manual/