The Hprose PHP User Manual provides installation, type‑mapping, server and client development instructions for the Hprose remote object service engine.
This manual introduces Hprose for PHP, covering installation, quick‑start examples, type mapping, server publishing, and client usage. It includes code samples, configuration details, and troubleshooting tips for developers working with the high‑performance remote object service engine.
Additional sections describe how to obtain electronic copies, access online support, and contact the Beijing‑based company behind Hprose. The document also explains advanced features such as timeout settings, persistent connections, and various result‑return modes. This manual is written in Chinese.
| Supported PHP version | PHP 5.0 or higher |
|---|---|
| SAE cloud platform support | Supported |
Set the client object's `setTimeout` property to the desired number of milliseconds; calls exceeding this limit will be aborted.
Enable persistent connections by setting `KeepAlive` to true and optionally adjusting `KeepAliveTimeout` (default 300 seconds).
Copy the four core files (hproseCommon.php, hproseIO.php, hproseHttpServer.php, hproseHttpClient.php) into your project directory; no further installation steps are required.