LDP Forms Pretest

Note: This script is intended to test LDP Forms provided by Omniupdate. This script should be removed after successful configuration.

LDP Forms Pretest

Required Items


The following PHP functions and Server port need to be enabled or open for LDP forms to work properly. Please see the next section for file upload settings.

Checking Port on SSM fsockopen Error: 111 — Connection refused
127.0.0.1:7518 is not open.

Enabled Functions
  • json_encode(): enabled
  • json_decode(): enabled
  • base64_encode(): enabled
  • explode(): enabled
  • end(): enabled
  • strlen(): enabled
  • fopen(): enabled
  • fread(): enabled
  • fclose(): enabled
  • preg_replace(): enabled
  • xmlrpc_encode_request(): enabled
  • xmlrpc_decode(): enabled
  • curl_init(): enabled
  • curl_setopt(): enabled
  • curl_exec(): enabled
  • curl_error(): enabled
  • curl_close(): enabled
Failed Functions

File Upload Settings


These items are needed for the file uploads to work correctly. The SSM also requires configuration settings to store uploaded files on a customer-provided S3-type server. These are the recommended settings for the production server to allow file uploads to the SSM for LDP forms. The recommended settings should at least allow 7 different file uploads to occur for one given form submission. You can increase them or decrease them as desired but this will change the number files that can be uploaded per submission to a different number.

Recommended server settings

These settings are recommended and can be increased or decreased.

  • file_uploads = On
  • max_file_uploads = 20 (default)
  • memory_limit = 300M
  • upload_max_filesize = 27M
  • post_max_size = 200M
  • max_execution_time = 30
Actual server settings

Loaded from php.ini: /etc/php.ini

  • file_uploads = On
  • max_file_uploads = 20
  • memory_limit = 128M - under recommended value
  • upload_max_filesize = 2M - under recommended value
  • post_max_size = 8M - under recommended value
  • max_execution_time = 30