To enable the Mailparse extension for PHP using CloudLinux Selector in Plesk.
Follow these steps:
Step 1: Log in to Plesk
- Access your Plesk control panel at
https://your-domain.com:8443
(replaceyour-domain.com
with your actual domain or IP address). - Enter your username and password to log in.
Step 2: Access PHP Settings
- In the Plesk dashboard, navigate to "Domains".
- Find the domain you want to enable Mailparse for and click on it.
- Under the "Web Hosting" section, click on "PHP Settings".
Step 3: Open CloudLinux PHP Selector
- On the PHP Settings page, look for the "PHP Selector" section (also known as "Select PHP Version").
- Click on the "Select PHP Version" dropdown. This will show a list of PHP versions installed on your server.
Step 4: Enable the Mailparse Extension
- After selecting the desired PHP version, you will see a list of PHP extensions.
- Scroll down the list or use the search box to find Mailparse.
- Check the box next to Mailparse to enable the extension.
Step 5: Apply the Changes
- After checking the box for Mailparse, scroll down to the bottom and click "Apply" or "OK" to save the changes.
Step 6: Verify the Mailparse Extension is Enabled
- To verify that the Mailparse extension is enabled, you can create a
phpinfo.php
file in the root directory of your domain. - Create a file named
phpinfo.php
and add this code: