Configuring web publishing settings : PHP web publishing settings
 
PHP web publishing settings
Note  The following information is for server administrators.
Custom Web Publishing with PHP enables PHP web applications to access data using the FileMaker API for PHP. You can configure how the Web Publishing Engine responds to the API.
You can specify the following PHP Publishing settings on the Web Publishing > PHP tab:
Enable PHP publishing.
Enable pre-validation of record data.
Select the default character encoding.
Select the language used with PHP publishing.
Note  Changing any of these settings requires restarting the Web Publishing Engine.
For information about hosting a PHP website, see Hosting websites. For more information about creating a PHP website and using the FileMaker API for PHP, see FileMaker Server Custom Web Publishing with PHP on the Start Page.
To specify PHP Publishing settings:
1. Click the Web Publishing > PHP tab.
 
To
Do this
Enable Custom Web Publishing with PHP
Select Enable PHP publishing.
This setting must be enabled to configure the other settings on this tab. The Status pane shows if this feature is enabled.
Enable pre-validation of record data on the web server
Select Enable record data pre-validation.
Enables the FileMaker API for PHP to validate record data before committing a record to the Database Server. To use this feature, your PHP code must call the validate() method where necessary and respond to validation errors.
Select the default character encoding
For Default Character Encoding, choose an encoding.
The encoding you choose should match the encoding you use in the <head> section of your PHP files.
The PHP default language is Latin-1. The FileMaker Server default is Unicode. Use UTF-8 if your data contains non-Latin characters.
Select the PHP publishing error message language
For Language, choose a language for error messages returned by the FileMaker API for PHP, such as English, Deutsch, or Italiano.
2. Click Save, or click Revert to undo all changes made on this tab.
Note  The FileMaker API for PHP and a supported PHP engine must be installed on the web server for Custom Web Publishing with PHP to work. For more information, see Enabling technologies for data sharing and web publishing.
Related topics 
Administering databases
Administering clients
General web publishing settings