|Mac & Win
This function was deprecated.
Returns Ok on success.
This must be called at least once before you execute any PHP code. You must call this after PHP.Load.
May work on server. Be sure to use right bit number to match server, not client!
Windows error 193 means that 64-bit FileMaker tried to load 32-bit library or 32-bit FileMaker tried to load 64-bit library. The bit level must match between app and library. For macOS the error message will tell you about wrong architecture.
You can set PHP runtime configuration path via shell variable on Windows, e.g. like this:
MBS( "EnvironmentVariables.SetValue"; "PHPRC"; "C:\Users\Christian\Desktop\php-5.6.12-Win32-VC11-x64\\")
Init PHP on Windows:
This function checks for a paid license.
Created 18th August 2014, last changed 23th January 2023