( ! ) Warning: Undefined array key "DocumentRoot" in C:\wamp64\scripts\wampserver.lib.php on line 818 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0004 | 374184 | {main}( ) | ...\add_vhost.php:0 |
2 | 0.0066 | 461328 | check_virtualhost( $check_files_only = ??? ) | ...\add_vhost.php:115 |
( ! ) Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in C:\wamp64\scripts\wampserver.lib.php on line 820 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0004 | 374184 | {main}( ) | ...\add_vhost.php:0 |
2 | 0.0066 | 461328 | check_virtualhost( $check_files_only = ??? ) | ...\add_vhost.php:115 |
3 | 0.0113 | 569096 | strtolower( $string = NULL ) | ...\wampserver.lib.php:820 |
( ! ) Warning: Undefined array key "DocumentRoot" in C:\wamp64\scripts\wampserver.lib.php on line 818 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0004 | 374184 | {main}( ) | ...\add_vhost.php:0 |
2 | 0.0066 | 461328 | check_virtualhost( $check_files_only = ??? ) | ...\add_vhost.php:115 |
( ! ) Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in C:\wamp64\scripts\wampserver.lib.php on line 820 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0004 | 374184 | {main}( ) | ...\add_vhost.php:0 |
2 | 0.0066 | 461328 | check_virtualhost( $check_files_only = ??? ) | ...\add_vhost.php:115 |
3 | 0.0129 | 569208 | strtolower( $string = NULL ) | ...\wampserver.lib.php:820 |
Apache Virtual Hosts c:/wamp64/bin/apache/apache2.4.46/conf/extra/httpd-vhosts.conf
VirtualHost already defined:
Windows hosts C:/WINDOWS/system32/drivers/etc/hosts
Alias
LoadModule php_module "${INSTALL_DIR}/bin/php/php8.1.1/php8apache2_4.dll"
LoadModule fcgid_module modules/mod_fcgid.so
(Not commented - No # at the beginning))
<IfModule fcgid_module>
FcgidMaxProcessesPerClass 300
FcgidConnectTimeout 10
FcgidProcessLifeTime 1800
FcgidMaxRequestsPerProcess 0
FcgidMinProcessesPerClass 0
FcgidFixPathinfo 0
FcgidZombieScanInterval 20
FcgidMaxRequestLen 536870912
FcgidBusyTimeout 120
FcgidIOTimeout 120
FcgidTimeScore 3
FcgidPassHeader Authorization
Define PHPROOT ${INSTALL_DIR}/bin/php/php
</IfModule>
<IfModule fcgid_module>
Define FCGIPHPVERSION "7.4.27"
FcgidInitialEnv PHPRC ${PHPROOT}${FCGIPHPVERSION}
<Files ~ "\.php$">
Options +Indexes +Includes +FollowSymLinks +MultiViews +ExecCGI
AddHandler fcgid-script .php
FcgidWrapper "${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe" .php
</Files>
</IfModule>
<IfModule fcgid_module>
Define FCGIPHPVERSION "7.4.27"
FcgidInitialEnv PHPRC ${PHPROOT}${FCGIPHPVERSION}
</IfModule>
<IfModule fcgid_module>
<Files ~ "\.php$">
Options +Indexes +Includes +FollowSymLinks +MultiViews +ExecCGI
AddHandler fcgid-script .php
FcgidWrapper "${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe" .php
</Files>
</IfModule>
Alias /myalias "g:/www/mydir/"
<IfModule fcgid_module>
Define FCGIPHPVERSION "7.4.27"
FcgidInitialEnv PHPRC ${PHPROOT}${FCGIPHPVERSION}
</IfModule>
<Directory "g:/www/mydir/">
Options Indexes FollowSymLinks
AllowOverride all
Require local
<IfModule fcgid_module>
<Files ~ "\.php$">
Options +Indexes +Includes +FollowSymLinks +MultiViews +ExecCGI
AddHandler fcgid-script .php
FcgidWrapper "${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe" .php
</Files>
</IfModule>
</Directory>