<title>Monkeybread Software - MBS FileMaker Plugin: Component: PHP</title></head><body>Component: PHP 
---------------

Run PHP scripts and get/set variables.

Deprecated. Please use PHP scripts on a web server and trigger them via [CURL](component_CURL.md) functions. Or run PHP via [Shell](component_Shell.md) functions, please.

<style>
td.grau 
{
  background-color:#EEE;
  text-align: center;
}
</style>| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [2.9](newinversion29.md "First functions introduced with version 2.9.") / [7.3](newinversion73.md "Newest functions in version 7.3.") | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |

  
| Item | Details |
|:--|:--|
| [PHP.Execute](PHPExecute.md)  **Deprecated**    Executes the specified php code and returns the text output. | Mac/Win/Linux   2.9 |
| [PHP.ExistsVariable](PHPExistsVariable.md)  **Deprecated**    Checks if a variable exists. | Mac/Win/Linux   2.9 |
| [PHP.GetResultContainer](PHPGetResultContainer.md)  **Deprecated**    Returns the result of the last php script to run as container. | Mac/Win/Linux   6.4 |
| [PHP.GetResultString](PHPGetResultString.md)  **Deprecated**    Returns the result of the last php script to run. | Mac/Win/Linux   2.9 |
| [PHP.GetVariable](PHPGetVariable.md)  **Deprecated**    Returns the value of the variable. | Mac/Win/Linux   2.9 |
| [PHP.Init](PHPInit.md)  **Deprecated**    Initializes PHP. | Mac/Win/Linux   2.9 |
| [PHP.IsInitialized](PHPIsInitialized.md)  **Deprecated**    Queries whether PHP was initialized. | Mac/Win/Linux   7.3 |
| [PHP.Load](PHPLoad.md)  **Deprecated**    This function is used to indicate where PHP is installed on the computer. | Mac/Win/Linux   2.9 |
| [PHP.Run](PHPRun.md)  **Deprecated**    Executes the specified php code. | Mac/Win/Linux   2.9 |
| [PHP.SetVariable](PHPSetVariable.md)  **Deprecated**    Declares the variables in inside of PHP. | Mac/Win/Linux   2.9 |
| [PHP.ShutDown](PHPShutDown.md)  **Deprecated**    Stops php. | Mac/Win/Linux   2.9 |

11 functions shown.

These functions require a paid license (73%).

### Release notes

- **Version 13.1**
    - Deprecated [PHP](https://www.mbsplugins.eu/component_PHP.shtml) functions.
- **Version 8.1**
    - Changed [PHP.Run](http://www.mbsplugins.eu/PHPRun.shtml) and [PHP.Execute](http://www.mbsplugins.eu/PHPExecute.shtml) to return better error messages.
- **Version 7.3**
    - Added [PHP.IsInitialized](http://www.mbsplugins.eu/PHPIsInitialized.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin v8.1 with 5100 Functions In One Plugin](https://www.mbsplugins.de/archive/2018-03-06/MBS_FileMaker_Plugin_v81_with_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 8.1](https://www.mbsplugins.de/archive/2018-03-06/MBS_FileMaker_Plugin_81/monkeybreadsoftware_blog_filemaker)
- [The Status of our PHP support](https://www.mbsplugins.de/archive/2018-02-03/The_Status_of_our_PHP_support/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 6.4 for OS X/Windows](https://www.mbsplugins.de/archive/2016-09-27/MBS_FileMaker_Plugin_64_for_OS/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 2.9 for OS X/Windows - More than 1200 Functions In One Plugin](https://www.mbsplugins.de/archive/2012-10-03/MBS_FileMaker_Plugin_29_for_OS/monkeybreadsoftware_blog_filemaker)

### Example Databases

- [PHP/Simple\_php](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/PHP/Simple_php.shtml#1ScriptAnchor_)

💬 [Ask a question or report a problem](https://www.monkeybreadsoftware.com/feedback/?what=filemaker&path=PHP)

[HTML Version](component_PHP.shtml)