Closed ugksoft123 closed 2 years ago
{
StartProcess(ExeFileName, $"-b localhost:{port} -c {phpini}", false, env_vars); Log.Notice("Starting PHP " + i + "/" + ProcessCount, ProgLogSection);
ushort port = (ushort)PHP_PORT.Value;
I'm not sure what you are saying the issue is but Wnmp launches multiple PHP instances on a single port by utilizing the ReuseAddress socket option (see here)
ReuseAddress
1.php.cs
{
2.OptionsFrm.cs
ushort port = (ushort)PHP_PORT.Value;