-
MathType
-
WirisQuizzes
-
Nubric
-
CalcMe
-
MathPlayer
-
Store FAQ
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Deploy Integration Services with PHP
Reading time: 2minUse this guide when you want to host MathType Integration Services on a PHP server instead of using the default MathType cloud services.
After completing this guide, your MathType frontend integration will send requests to your own PHP-based Integration Services deployment. This allows you to customize backend behavior and infrastructure settings while continuing to use MathType editor services.
Before you begin
Requirements
- A working MathType frontend integration (CKEditor, TinyMCE, Froala, Generic Integration, or another supported editor)..
- Access to a PHP server.
- The MathType Integration Services package for PHP and a valid MathType server license (for self-hosting).
- Basic understanding of the MathType architecture.
For an overview of how Integration Services fit into the MathType architecture, see MathType integrations architecture.
Applies to
Self-hosted MathType Integration Services · Java
Steps
Obtain the PHP Integration Services package
Download the MathType Integration Services package for PHP. You can find them here.
The package contains the backend components required to process MathType requests and communicate with MathType editor services.
Deploy the Integration Services
Copy the generic_wiris/integration directory to a location accessible from your web server. Example:
DOCUMENT_ROOT/php-services/integrationFor local testing, you can also serve the integration using PHP's built-in development server:
php -S localhost:8000At this point, your server should be able to receive requests from the MathType frontend.
Configure your frontend integration
Update your frontend integration to point to your PHP Integration Services endpoint. Example:
mathTypeParameters: {
serviceProviderProperties: {
URI: 'http://localhost/php-services/integration',
server: 'php'
}
}The exact location of this configuration depends on the editor you are using.
4. Verify the deployment
Open the Integration Services test page:
http://<your-domain>/<path-to-integration>/test.phpConfirm that:
- The test page loads correctly.
- All available checks pass successfully.
- No configuration or permission errors are reported.
For detailed information about the available tests and how to interpret the results, see Test Integration Services.
Verify it worked
Open your editor and check that:
- The MathType editor opens correctly
- Formulas can be inserted and edited
- Rendering behaves as expected
You can also inspect browser network requests and verify that requests are sent to your Integration Services endpoint instead of the default MathType cloud endpoints.
Common issues
The test page does not load
Verify that the Integration Services files were copied to a PHP-accessible location and that PHP is correctly configured on the server.
Formulas are not rendered
Verify that the frontend is pointing to the correct Integration Services endpoint.
The editor opens, but formulas cannot be inserted
Check that the Integration Services endpoint is reachable and returning valid responses.
Related articles
- MathType integrations architecture.
- Deploy Integration Services with Java.
- Test Integration Services.
- Configure Integration Services.