This directory contains a PHP/HTML implementation of the Ice hello client.
Follow these steps to install the demo:
-
Install the Ice extension and run-time files as described in the manual. Restart the Web server if necessary.
-
Compile all the demo Slice files (see php/README.md), or compile just this demo's Slice file with
slice2php
:slice2php *.ice
-
Configure your PHP-enabled web server to serve the directory where this file exists.
-
In a command window on the Web server host, start a hello server. You can use a server from any Ice language mapping. If you want to get started quickly, we recommend using the Python server.
-
Start a Web browser and open the
Client.php
page to begin using the demo. Note that support for secure invocations via SSL are disabled by default. If you have configured SSL for the Ice extension, editClient.php
and set thehave_ssl
variable to true.