| 1 |
lars |
1 |
# Compatibility Test
|
|
|
2 |
|
|
|
3 |
## Via your web browser
|
|
|
4 |
|
|
|
5 |
1. Upload `sdk_compatibility_test.php` to the web-accessible root of your website.
|
|
|
6 |
For example, if your website is `www.example.com`, upload it so that you can get
|
|
|
7 |
to it at `www.example.com/sdk_compatibility_test.php`
|
|
|
8 |
|
|
|
9 |
2. Open your web browser and go to the page you just uploaded.
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
## Via the command line
|
|
|
13 |
|
|
|
14 |
### Windows
|
|
|
15 |
|
|
|
16 |
1. Upload `sdk_compatibility_test_cli.php` to your server via SFTP.
|
|
|
17 |
|
|
|
18 |
2. SSH/RDP into the machine, and find the directory where you uploaded the test.
|
|
|
19 |
|
|
|
20 |
3. Run the test, and review the results:
|
|
|
21 |
|
|
|
22 |
php .\sdk_compatibility_test_cli.php
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
### Non-Windows (Mac or *nix)
|
|
|
26 |
|
|
|
27 |
1. Upload `sdk_compatibility_test_cli.php` to your server via SFTP.
|
|
|
28 |
|
|
|
29 |
2. SSH into the machine, and find the directory where you uploaded the test.
|
|
|
30 |
|
|
|
31 |
3. Set the executable bit:
|
|
|
32 |
|
|
|
33 |
chmod +x ./sdk_compatibility_test_cli.php
|
|
|
34 |
|
|
|
35 |
4. Run the test, and review the results:
|
|
|
36 |
|
|
|
37 |
./sdk_compatibility_test_cli.php
|