Hello
Can someone help me? In the php errors page, two errors have been appearing for a very long time that I have ignored until now.
The errors are:
[17-Nov-2022 08:52:05 UTC] PHP Notice: Undefined index: ServerName in D:\wamp64\scripts\wampserver.lib.php on line 822
[17-Nov-2022 08:52:05 UTC] PHP Notice: Undefined index: DocumentRoot in D:\wamp64\scripts\wampserver.lib.php on line 823
From line 829 to line 837 I have the following in the wampserver.lib.php file:
//Check if VirtualHost use Apache fcgid_module & PHP version used.
$myVhostsContents = file_get_contents($c_apacheVhostConfFile);
$phpVersionList = listDir($c_phpVersionDir,'checkPhpConf','php',true);
- if(!isset($phpFcgiVersionList)) GetAliasVersions();
- foreach($virtualHost['ServerName'] as $value) {
$virtualHost['ServerNameFcgid'][$value] = false;
$virtualHost['ServerNameFcgidPHP'][$value] = '0.0.0';
$virtualHost['ServerNameFcgidPHPOK'][$value] = false;
$p_value = preg_quote($value);
822 and 823 are with line.
Can it be fixed?
Can someone help me? In the php errors page, two errors have been appearing for a very long time that I have ignored until now.
The errors are:
[17-Nov-2022 08:52:05 UTC] PHP Notice: Undefined index: ServerName in D:\wamp64\scripts\wampserver.lib.php on line 822
[17-Nov-2022 08:52:05 UTC] PHP Notice: Undefined index: DocumentRoot in D:\wamp64\scripts\wampserver.lib.php on line 823
From line 829 to line 837 I have the following in the wampserver.lib.php file:
//Check if VirtualHost use Apache fcgid_module & PHP version used.
$myVhostsContents = file_get_contents($c_apacheVhostConfFile);
$phpVersionList = listDir($c_phpVersionDir,'checkPhpConf','php',true);
- if(!isset($phpFcgiVersionList)) GetAliasVersions();
- foreach($virtualHost['ServerName'] as $value) {
$virtualHost['ServerNameFcgid'][$value] = false;
$virtualHost['ServerNameFcgidPHP'][$value] = '0.0.0';
$virtualHost['ServerNameFcgidPHPOK'][$value] = false;
$p_value = preg_quote($value);
822 and 823 are with line.
Can it be fixed?