1
0 Comments

At present, my operating system is Windows 64-bit. However, I’m unable to initiate a virtual host due to encountering the subsequent error message:

Fatal error: Call to undefined function idn_to_ascii() in C:\wamp64\www\add_vhost.php on line 347

When attempting to launch a virtual host, I observe the following lines appearing on my PHP error log.

[15-May-2019 16:22:56 UTC] PHP Fatal error:  Call to undefined function idn_to_ascii() in C:\wamp64\www\add_vhost.php on line 347

[15-May-2019 16:22:56 UTC] PHP Stack trace:

[15-May-2019 16:22:56 UTC] PHP   1. {main}() C:\wamp64\www\add_vhost.php:0

I have attempted to resolve the issue by reinstalling WampServer, and I plan to test copying the complete folder from a colleague to see if that resolves the problem. Is there a possible solution that doesn’t require the involvement of my coworkers?

This is the method I am using to establish my virtual host. Though my colleagues use a similar approach, I am the only one experiencing the error:

The following is the error message that I am receiving:

Askify Moderator Edited question May 3, 2023