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

Localhost index page showing PHP errors when VirtualHost has multiple Directory sections (1 reply)

$
0
0
hello,

I'm on a recent Wampserver 3 with all the redistributables tested, on Windows 10. My Wamp works normally in every known case. I'm trying to define a VirtualHost in my vhosts config, and when I add a second Directory tag, I see PHP errors appear on my localhost page as though my VirtualHost is improperly recognized. I have replaced the Directory tag with other interchangeable directives, for example Location tags, and those ones will cause the PHP errors to disappear.

any idea what is causing this or how I would fix it? I've already tried "Don't check VirtualHost definitions" and it has no effect. Here are screenshots of my index page and also my conf file:

[imgur.com]

[imgur.com]

thank you!

Viewing all articles
Browse latest Browse all 3177

Trending Articles



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