Server Prerequisites and Guidelines

Before installing phpBMS, ensure that you have the appropriate components installed on your server. phpBMS uses a modified BSD license for it's installations.

Required Server Components

  • PHP v5.2.0 or higher
  • PHP MySQL Support
  • Apache v2.0 or higher
  • MySQL v5.0 or higher
  • MySQL InnoDB Database Support

Suggested Server Components

phpBMS has a scheduler that runs on a regulary basis to help facilitate things such as recurring invoices. It is not required to have the program to run, but is needed if you want the extra functionality. In addtion, need access to your system's crontab file in order to activate this support.

Scheduler Support requires:

  • cron or some other scheduling program that can run php via command line
  • PHP command line support - The ability to run PHP scripts from the command line.

Mailing functions utilizes PHP's mail() function to work. You may need to update your php.ini to enable the SMTP server to be used by PHP.

Server Space and Memory Requirements

The phpBMS files take up a small amount of space (< 2 MB) and require no special file or folder permissions. However the size of the MySQL InnoDB Database may grow quickly so be prepared to reserve space as needed.

PHP and Apache Performance

If you intend to upload large files to the phpBMS system, you may want to increase both the timeout and file maximums within apache and php.

In php.ini

  • session.gc_maxlifetime - You may want to increase the sessions maximum lifetime.
  • upload_max_filesize - You may want to increase the maxium uploaded file size.
  • post_max_size - You may want to increase the maximum size of posted forms.
  • memory_limit - You may want to increase php's page memory limit.
  • max_execution_time - You may want to increase the maximum executiontime of each script.
  • max_input_time - You may want to increase the maximum amount of time each script can spendin parsing data.

The apache webserver has a LimitRequestBody configuration directive that restricts the size of all POST data regardless of the web scripting language in use. Some LINUX distributions sets limit request body to 512Kb. You may need to change this to a larger value or remove the entry altogether.