Help Center/
Content Moderation/
SDK Reference/
Using the PHP SDK/
Preparing a PHP Development Environment
Updated on 2025-07-02 GMT+08:00
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 official website and install it. The php.7.x version is recommended for the 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.
Parent topic: Using the PHP SDK
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot