Skip to content
Daniel Marshall edited this page Nov 10, 2015 · 1 revision

#Step 2: Set Up Your Test Environment

  1. Create a local folder for this tutorial project. You can create this folder anywhere you want on your hard drive and name it anything you want.

  2. Install the PHP SDK

Follow the gedcomx-php SDK installation instructions.

  1. (For Windows) Enable security certificates for PHP as follows:
  • Copy the cacert.pem file generated by the authors of curl into a folder on your server. You can copy it to any folder but you might want to put it in a logical spot in your PHP server folders. For example: C:\xampp\php\extras\ssl\cacert.pem

  • Insert the following line into your php.ini file which can be found in the root of your PHP server folder:

    curl.cainfo = "[pathtothisfile]\cacert.pem"

    For example curl.cainfo = "C:\xampp\php\extras\ssl\cacert.pem"

  1. Start the Internal PHP Web Server

Open a console, move to your tutorial project folder, and enter the following command:

php -S localhost:5000

(Proceed to Step 3 of the tutorial.)

Home

Tutorial

  • Step 1: Register
  • Step 2: Set up your test environment
  • Step 3: Build tutorial.php
  • Step 4: Use the SDK Documentation

Sample App

Documentation

Design

Clone this wiki locally