Executing the PHP samples V.1.0

Executing the PHP web sample

Copy the client_samples/php/sample_www.php to your webserver

Assuming everything is configured, and you inserted data into the demo keyspace, the sample query will return something like this:

cassandradriver-sample_www-php

Executing the PHP command line sample

Go to the directory of the sample and simply type:

php -f sample_cmdline.php

cassadradriver-client_samples-php-commandline

 

Leave a Reply

Your email address will not be published. Required fields are marked *