Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Warning: Invalid argument supplied for foreach() in C:\wamp64\www\add_vhost.php on line 1065 (1 reply)

$
0
0
I am trying to set up a WordPress site on my PC but haven't been able to. I have done the WP install many times without any issues but am now running into one snag after another. I must be doing something wrong but don't know what that is. I went through my system and followed instructions from this forum to remove all virtual hosts and all WP files, etc. I thought I had everything set up correctly and tried to setup a new virtual host. I got this warning and the set up stopped:

Warning: Invalid argument supplied for foreach() in C:\wamp64\www\add_vhost.php on line 1065

1. Even though the "W" is green, is it possible that my instance of WAMPServer is corrupt and needs to be reinstalled?

2. If I need to reinstall WampServer, what is the correct process to follow? (I couldn't find any instructions when I searched the forum.)

I followed all the pre-install instructions for installing WampServer. I verified that all the MS Windows Visual C++ Packages are installed.

I don't recall whether I installed WAMPServer as administrator. My user role is set as "Administrator" but I believe I have to specify "Run as Administrator" when I run the setup. I just don't recall doing this.

Here are my answers to the questions about my setup:

1 - Windows version used: Windows 11 Pro Version 21H2 64-bit

2 - Version of WampServer: 3.2.9 64 bits

3 - Apache Version: Apache 2.4.46 Port 80

4 - PHP Version: PHP 7.4.9

5 - PHP 5.6.40 for CLI (Command-Line Interface)

5 - MySQL Version: MySQL 5.7.31 Port 3306

5a - MariaDB version if applicable: Not applicable

6 - What color is the WampServer icon: Green

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>