1.4.5. PHP

PHP, the Hypertext Pre-Processor is required in order to run the application. PHP versions older than 5.1.4 have not been tested with BMFO 1.2.0.

[Caution] Caution

Please install the zipfile distribution (windows binaries zip file)of PHP, not the installer version. Also install the PECL modules.

Notice the difference between the PHP installer and the BMFO Scripting installer.

PHP is available from http://www.php.net. The following page provides the required package (version 5.1.4): http://www.php.net/get/php-5.1.4-Win32.zip/from/a/mirror

Extract the zip file to c:\windows and rename the folder php-5.1.4 to php.

At least the following PHP extensions have to be loaded: php.ini

The php.ini file should be edited accordingly. The important settings are summarized below:


max_execution_time = 300

[mail function]
SMTP = igwa_2
sendmail_from = bmfoadministrator@ngwa.com.jo
[Caution] Caution

Remember to adjust the php.ini settings according to your needs.

PHP should serve the pages with UTF-8 encoding. This can be achieved by adding the following line to php.ini:

  default_charset = "utf-8";

Make sure that session support is enabled, by adjusting the following line:


Make sure that the temporary directory c:\tmp exists.

The PHP installation can be completed with the following three lines in httpd.conf:

ScriptAlias /php/ "c:/windows/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"