|Mac & Win
This function is used to indicate where PHP is installed on the computer.
This function was deprecated.
|The path to the dll (Windows) or dynamic library (macOS)
Returns OK on success.
DescriptionThis function is used to indicate where PHP is installed on the computer.
Pass the path to the php5ts.dll file on windows or the libphp5.dylib file on macOS.
If you get a crash here on MacOS, please check if crash report says Code Signature Invalid. Then you may need to code sign the dylib yourself to match the code signature of your runtime application.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
This function checks for a paid license.
Created 18th August 2014, last changed 23th January 2023