Preparing a PHP Development Environment
To use the PHP SDK of Content Moderation, you need to configure the PHP development environment.
- Download PHP of a proper version from PHP's official website and install it. The php.7.x version is recommended for Content Moderation SDK. The following uses the php 7.0.32 version as an example.
- The PHP installation directory cannot contain Chinese characters or special characters.
- In the Windows operating system, if you run the php –v command, the command output indicates that the specified module cannot be found, check whether the extension_dir and include_path parameters in the php.ini file are correctly set.
- Download the latest version of PhoStorm from PhoStorm's official website and install it.
- Start the PhpStorm development tool and choose to configure the PHP environment.
- Select the PHP path on the top of the page, as shown in Figure 1. Then click Apply.
Last Article: Using the PHP SDK
Next Article: Importing a PHP SDK into a PHP Environment

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.