Wiris

Documentation / MathType

  • Demos
  • Visit our website
  • Downloads
  • Contact us
  • MathType

    • WirisQuizzes

      • Nubric

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • MathType
                      • Technical documentation
                      • MathType for HTML editors
                      • Hosting

                      Deploy Integration Services with PHP

                      Reading time: 2min

                      Use 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/integration

                      For local testing, you can also serve the integration using PHP's built-in development server:

                      php -S localhost:8000

                      At 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.php

                      Confirm 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.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • API services
                      • MathType for Moodle
                      • MathType 7 introductory tutorials
                      • Server components - Hosting at your server

                      Deploy Integration Services with PHP

                      Before you begin Requirements Applies to Steps Obtain the PHP Integration Services package Deploy the Integration Services Configure your frontend integration 4. Verify the deployment Verify it worked Common issues The test page does not load Formulas are not rendered The editor opens, but formulas cannot be inserted Related articles

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Nubric

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand