MailWizz 1.5 installing on Windows

Hermsen

New Member
Hi there all Mailwizz nerds...

I am just starting with the new version from Mailwizz and installed this version on Windows 2012 and php 7.2

Opensll.dll is active in php.ini but still get this error in creating a sending domain

While generating the private key, exec failed with: Unknown error, most probably cannot exec the openssl command!

Well the error seems to me clear ! but where I have to look first.....

I believe its a more challenge to get this Mailwizz working on Windows Is using MySQL but for the cronjobs (I call them tasks!) I should also set the PDO-odbc active in my php.ini....?
 
Found the starter....
// private key
$line = exec(sprintf('cd %s && /usr/bin/openssl genrsa -out %s 1024', escapeshellarg($tempStorage), escapeshellarg($privateKey)), $output, $return);

Here should be something changed for Windows.... I will find out...
 
@Hermsen - Mailwizz is really meant to work on linux. While it will work on windows too, you'll find all these small things like the one above that will only work on linux.
 
Yep Twisted1919 your right... I really solve a lot of things but I see YES, this is only mentioned for Linux or other kind of Unix-like.
I quit late night because it's to much to change from the original... I never see back any upgrade then !

Still this looks the best free open source what I found (on PHP).... So I agree (and you know for sure) it's not for Windows !!!! eehhhh
I like challenges but this one should be for fun. I have programs running on Windows where some think it's not possible.... Thats why I am a kind of special....

When I find some more time I will give you a working MailWizz for windows version back for free ! As you know my license you see I am a longer time here. But anyway thanks for your reply, you are a really active to your users. Thumb Up special for you, I like that
 
I have met the same issue of mailwizz 2.69 installed on windows server as well. Do you know how to solve the openssl issue for creating a new sending domain now?
 

Attachments

  • sending domain openssl issue 20250716v1.png
    sending domain openssl issue 20250716v1.png
    95 KB · Views: 3
I have met the same issue of mailwizz 2.69 installed on windows server as well. Do you know how to solve the openssl issue for creating a new sending domain now?
This error means that MailWizz is trying to use openssl through PHP’s exec() function, but your Windows environment doesn’t have openssl available in the system PATH, or PHP is restricted from executing shell commands.
Check if openssl.exe exists, open Command Prompt and type:
Code:
openssl version
if it says something like: 'openssl' is not recognized, you need to install or add OpenSSL to your system.
 
Our Openssl issue still hasn't been solved. In the 2nd file, you can see that our IT has used the Openssl installed together with XAMPP and PHP7.4 to successfully get the DKIM data, however, it was forced to change from 32 digit to 16 digit. We don't know whether this change influences the sending domain's mention error of openssl. In addition, our installed openssl version is 1.1.1p, and we have set the path of D:/xampp/apche/bin to use openssl.exe. Could you please tell me how to get rid of the mentioned error?
 

Attachments

  • 4. Openssl issue-P1.png
    4. Openssl issue-P1.png
    134.1 KB · Views: 3
  • 4. openssl-P2.png
    4. openssl-P2.png
    24 KB · Views: 3
  • 4. openssl-P3.png
    4. openssl-P3.png
    44.6 KB · Views: 2
  • 4. openssl-P4.png
    4. openssl-P4.png
    11.5 KB · Views: 3
  • 4. openssl-P5.png
    4. openssl-P5.png
    47 KB · Views: 3
@twisted1919, Thank for Mentioning exec together with the openssl command are mainly for Linux. However, as we installed the Mailwizz with XAMPP and PHP7.4 and Openssl1.1.1p in the windows server. Could you please tell me how to solve the issue for creating new sending domain, while generating the private key, exec failed with: Unknown error: most probably can't exec the openssl_command! It is mentioned in detail in #7. Do you remmend me just ignore this issue?
 
Thank for Mentioning exec together with the openssl command are mainly for Linux. However, as we installed the Mailwizz with XAMPP and PHP7.4 and Openssl1.1.1p in the windows server. Could you please tell me how to solve the issue for creating new sending domain, while generating the private key, exec failed with: Unknown error: most probably can't exec the openssl_command! It is mentioned in detail in #7. Do you remmend me just ignore this issue?
The error you're encountering - exec failed with: Unknown error: most probably can't exec the openssl_command -
typically means that the exec() function in PHP is either disabled, or the system cannot locate the correct openssl binary to execute.

In php.ini, make sure exec is not listed in the disable_functions directive:
Code:
disable_functions =
If it looks like:
Code:
disable_functions = exec, passthru, shell_exec, system
you must remove exec from that list and restart Apache.

Even if OpenSSL is installed in D:/xampp/apache/bin/, PHP must be able to call it. Try this open command line and run:
Code:
openssl version
if it returns the version, it means the system path is correct, if not add D:/xampp/apache/bin/ to your system PATH variable and restart the server.

Also sometimes, even with correct paths, Windows permissions prevent exec() from running external commands, try running Apache (or XAMPP Control Panel) as Administrator.
 
Dear Laurentiu, thank you very much for your detailed instruction to solve the openssl issue on Windows XAMPP with Php 7.4. However, we have found that there's no disable fucntion of exec in the 1st attachment. In the 2nd attachment, we can see the version of Openssl1.1.1p works well in dos system. Please find our setting path in 3rd and 4th attachement. However, we still get the wrong information when setting sending domain.
 

Attachments

  • 5.Sending domain issue with openssl.png
    5.Sending domain issue with openssl.png
    135.4 KB · Views: 1
  • 4. Openssl's setting Path on Windows Server.png
    4. Openssl's setting Path on Windows Server.png
    20.6 KB · Views: 1
  • 3. Openssl's setting Path.png
    3. Openssl's setting Path.png
    2.4 KB · Views: 1
  • 2. Openssl's version of 1.1.1p.png
    2. Openssl's version of 1.1.1p.png
    31.4 KB · Views: 1
  • 1. no disable on Php openssl.png
    1. no disable on Php openssl.png
    54.5 KB · Views: 1
Dear Laurentiu, thank you very much for your detailed instruction to solve the openssl issue on Windows XAMPP with Php 7.4. However, we have found that there's no disable fucntion of exec in the 1st attachment. In the 2nd attachment, we can see the version of Openssl1.1.1p works well in dos system. Please find our setting path in 3rd and 4th attachement. However, we still get the wrong information when setting sending domain.
It seems that apache service does not have permission to run exec() commands - this is common on some Windows setups.

Try this:
- Open XAMPP Control Panel
- Stop Apache
- Right-click > Run as administrator
- Start Apache again and test.

Best,
Laurentiu
 
Dear Laurentiu, our IT has followed you instruction and conducted according to all your recommended steps. However, we still see the sending domain with openssl issue after our action.
 

Attachments

  • sending domain openssl issue 20250728v1.png
    sending domain openssl issue 20250728v1.png
    130 KB · Views: 1
Dear Laurentiu, our IT has followed you instruction and conducted according to all your recommended steps. However, we still see the sending domain with openssl issue after our action.
At this point, we've gone through all the usual troubleshooting steps, and since the issue still persists, I’m honestly out of ideas regarding how to get exec() and OpenSSL to work reliably in your current Windows/XAMPP setup.

From our experience, MailWizz runs best in a Linux environment. We strongly recommend moving the installation to a Linux-based server, ideally using CentOS or a similar distribution where all related tools (like OpenSSL) are fully compatible and reliably supported.

Best,
Laurentiu
 
Dear Laurentiu, thank you very much for your great support and as we don't have a CentOS system for MailWizz, we will continue to use Mailwizz on XAMPP for a period of time. Now, we can only neglect this issue temporary.
 
Back
Top