( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1354
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1355
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 2 in C:\wamp64\scripts\wampserver.lib.php on line 1356
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1357
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1358
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 2 in C:\wamp64\scripts\wampserver.lib.php on line 1358
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1359
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1360
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1361
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1362
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1363
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808

( ! ) Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in C:\wamp64\scripts\wampserver.lib.php on line 1399
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2662468544check_virtualhost( $check_files_only = ??? )...\wampserver.lib.php:1605
40.2702636952GetAliasVersions( )...\wampserver.lib.php:808
50.2747649280version_compare( $version1 = NULL, $version2 = '5.1.2', $operator = '>=' )...\wampserver.lib.php:1399

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1354
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1355
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 2 in C:\wamp64\scripts\wampserver.lib.php on line 1356
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1357
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1358
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 2 in C:\wamp64\scripts\wampserver.lib.php on line 1358
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1359
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1360
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1361
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1362
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1363
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606

( ! ) Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in C:\wamp64\scripts\wampserver.lib.php on line 1399
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2662468448GetPhpVersionsUsage( $modeWeb = ???, $doReport = ??? )...\index.php:180
30.2782537928GetAliasVersions( )...\wampserver.lib.php:1606
40.2818545800version_compare( $version1 = NULL, $version2 = '5.1.2', $operator = '>=' )...\wampserver.lib.php:1399

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1354
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1355
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 2 in C:\wamp64\scripts\wampserver.lib.php on line 1356
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1357
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1358
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 2 in C:\wamp64\scripts\wampserver.lib.php on line 1358
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1359
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1360
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1361
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1362
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Warning: Undefined array key 1 in C:\wamp64\scripts\wampserver.lib.php on line 1363
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240

( ! ) Deprecated: version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in C:\wamp64\scripts\wampserver.lib.php on line 1399
Call Stack
#TimeMemoryFunctionLocation
10.0005367376{main}( )...\index.php:0
20.2833502008GetAliasVersions( )...\index.php:240
30.2864509872version_compare( $version1 = NULL, $version2 = '5.1.2', $operator = '>=' )...\wampserver.lib.php:1399
WAMPSERVER Homepage

Server Configuration

Apache Version:
2.4.54.2  - Documentation Apache
Server Software:
Apache - Port defined for Apache: 80
PHP Version:
[Apache module]  8.1.13 - Documentation PHP - Loaded PHP extensions - Use of PHP versions
 
[FCGI] 7.4.33 - 8.0.26 - 8.1.13 - 8.2.0 - FCGI mode help
MariaDB Version:
10.10.2 - Port defined for MariaDB: 3308 -  Documentation MariaDB
MySQL Version:
8.0.31 - Port defined for MySQL: 3307 -  Documentation MySQL - MySQL - MariaDB
 

Your Projects (0)

  • No projects yet.
    To create a new one, just create a directory in 'www'.

Your Aliases (2)

Your VirtualHost (33)

  • localhost
  • seiko.econet.tw - hosts file error
  • wisdom.econet.tw - hosts file error
  • cycda.econet.tw - hosts file error
  • national.babypet.tw - hosts file error
  • school.econet.tw - hosts file error
  • atm.babypet.tw - hosts file error
  • love.babypet.tw - hosts file error
  • class.econet.tw - hosts file error
  • od.babypet.tw - hosts file error
  • 8c.econet.tw - hosts file error
  • weikwan.com.tw - hosts file error
  • leanteq.econet.tw - hosts file error
  • itai.tw - hosts file error
  • twsct.com - hosts file error
  • adviser.econet.tw - hosts file error
  • corleoneknowledge.com - hosts file error
  • jcs168.com.tw - hosts file error
  • swingingskirts.com - hosts file error
  • clooneylee.com - hosts file error
  • clooneyleeshop.com - hosts file error
  • mintstw.com - hosts file error
  • lpga2017.econet.tw - hosts file error
  • rea.econet.tw - hosts file error
  • beautymap.tw - hosts file error
  • yeounlinchyun.com.tw - hosts file error
  • fns-smart.com.tw - hosts file error
  • supercome.econet.tw - hosts file error
  • bus1980.babypet.tw - hosts file error
  • clooneyStock.econet.tw - hosts file error
  • david.econet.tw - hosts file error
  • 52-jia.econet.tw - hosts file error
  • Error(s) See below

The ServerName seiko.econet.tw is not defined into hosts file.
The ServerName wisdom.econet.tw is not defined into hosts file.
The ServerName cycda.econet.tw is not defined into hosts file.
The ServerName national.babypet.tw is not defined into hosts file.
The ServerName school.econet.tw is not defined into hosts file.
The ServerName atm.babypet.tw is not defined into hosts file.
The ServerName love.babypet.tw is not defined into hosts file.
The ServerName class.econet.tw is not defined into hosts file.
The ServerName od.babypet.tw is not defined into hosts file.
The ServerName 8c.econet.tw is not defined into hosts file.
The ServerName weikwan.com.tw is not defined into hosts file.
The ServerName leanteq.econet.tw is not defined into hosts file.
The ServerName itai.tw is not defined into hosts file.
The ServerName twsct.com is not defined into hosts file.
The ServerName adviser.econet.tw is not defined into hosts file.
The ServerName corleoneknowledge.com is not defined into hosts file.
The ServerName jcs168.com.tw is not defined into hosts file.
The ServerName swingingskirts.com is not defined into hosts file.
The ServerName clooneylee.com is not defined into hosts file.
The ServerName clooneyleeshop.com is not defined into hosts file.
The ServerName mintstw.com is not defined into hosts file.
The ServerName lpga2017.econet.tw is not defined into hosts file.
The ServerName rea.econet.tw is not defined into hosts file.
The ServerName beautymap.tw is not defined into hosts file.
The ServerName yeounlinchyun.com.tw is not defined into hosts file.
The ServerName fns-smart.com.tw is not defined into hosts file.
The ServerName supercome.econet.tw is not defined into hosts file.
The ServerName bus1980.babypet.tw is not defined into hosts file.
The ServerName clooneyStock.econet.tw is not defined into hosts file.
The ServerName david.econet.tw is not defined into hosts file.
The ServerName 52-jia.econet.tw is not defined into hosts file.
The path D:/seiko/.well-known/acme-challenge/ for <Directory ... does not exist (File c:/wamp64/bin/apache/apache2.4.54.2/conf/extra/httpd-vhosts.conf)
Duplicate ServerName school.econet.tw into c:/wamp64/bin/apache/apache2.4.54.2/conf/extra/httpd-vhosts.conf

 
X
PHP Loaded Extensions - Function get_loaded_extensions()
PHP 8.1.13 -> Apache module
 bcmath        bz2           calendar      com_dotnet    Core          ctype        
 curl          date          dom           exif          fileinfo      filter       
 gd            gettext       gmp           hash          iconv         imap         
 intl          json          ldap          libxml        mbstring      mysqli       
 mysqlnd       openssl       pcre          PDO           pdo_mysql     pdo_sqlite   
 Phar          readline      Reflection    session       SimpleXML     soap         
 sockets       SPL           sqlite3       standard      tokenizer     xdebug       
 xml           xmlreader     xmlwriter     xsl           Zend OPcache  zip          
 zlib         
PHP 8.1.13 -> CLI - FCGI
 bcmath        bz2           calendar      com_dotnet    Core          ctype        
 curl          date          dom           exif          fileinfo      filter       
 gd            gettext       gmp           hash          iconv         imap         
 intl          json          ldap          libxml        mbstring      mysqli       
 mysqlnd       openssl       pcre          PDO           pdo_mysql     pdo_sqlite   
 Phar          readline      Reflection    session       SimpleXML     soap         
 sockets       SPL           sqlite3       standard      tokenizer     xdebug       
 xml           xmlreader     xmlwriter     xsl           Zend OPcache  zip          
 zlib         
X
-- Use of PHP versions
 PHP 7.4.33  used for Wampserver internal PHP scripts
 PHP 8.0.26  not used
 PHP 8.1.13  used as APACHE module
 PHP 8.2.0   not used
X

How to use PHP in Fast CGI mode with Wampserver


The CGI (Common Gateway Interface) defines a way for a web server to interact with external content-generating programs, which are often referred to as CGI programs or CGI scripts. It is a simple way to put dynamic content on your web site, using whatever programming language you're most familiar with.

- Only one PHP version as Apache module

Since the beginning, Wampserver loads PHP as an Apache module:
  LoadModule php_module "${INSTALL_DIR}/bin/php/php8.1.1/php8apache2_4.dll"
which makes all VirtualHost, Alias and Projects use the same PHP version.
If you change the PHP version via the PHP menu of Wampmanager, this new version will be used everywhere.

- Several PHP versions with FCGI mode

Since Wampserver 3.2.8, it is possible to use PHP in CGI mode, i.e. you can define a different PHP version, whose addons have been previously installed, for each VirtualHost. This means that the VirtualHost are not obliged to use the same PHP version anymore.

The Apache fcgid_module (mod_fcgid.so) simplifies the implementation of CGI
The documentation is here: mod_fcgid

- Prerequisites

- 1 Presence of the mod_fcgid.so file in the Apache modules folder.
- 2 Presence of the module loading line in the httpd.conf file
  LoadModule fcgid_module modules/mod_fcgid.so (Not commented - No # at the beginning))
- 3 Presence of the common configuration directives of the module fcgid_module in the file httpd.conf

<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>

These three points 1, 2 and 3 are done automatically with the Wampserver 3.2.8 update

- Creating a FCGI VirtualHost

- After the Wampserver 3.2.8 update, the 'http://localhost/add_vhost.php' page allows the addition of a FCGI VirtualHost in all simplicity.
The choice of the version of PHP to use is limited to the versions of the PHP addons installed in your Wampserver what avoids an error of version PHP.
Indeed, to declare, in a VirtualHost, a non-existent PHP version in Wampserver will generate an Apache error and a "crash" of this one.

- If you want to modify an existing VirtualHost to add the FCGI mode with an existing PHP version already in the Wampserver PHP addons, you just have to go on the page http://localhost/add_vhost.php and launch the VirtualHost modification form to be able, in three clicks, to add the FCGI mode to the VirtualHost, to change the PHP version or to remove the FCGI mode.
It will be necessary to refresh Wampserver for that to be taken into account.
This same page http://localhost/add_vhost.php also allows, via the Alias modification form, to add the FCGI mode to an Alias, to change the PHP version or to remove the FCGI mode, always in three clicks.

- Some details

To add FCGI mode to an existing VirtualHost, simply add the following directives just before the </VirtualHost> end of that VirtualHost:

  <IfModule fcgid_module>
    Define FCGIPHPVERSION "7.4.27"
    FcgidInitialEnv PHPRC "${PHPROOT}${FCGIPHPVERSION}/php.ini"
    <Files ~ "\.php$">
      Options +Indexes +Includes +FollowSymLinks +MultiViews +ExecCGI
      AddHandler fcgid-script .php
      FcgidWrapper "${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe" .php
    </Files>
  </IfModule>

The PHP version must exist as a PHP addon in your Wampserver and can be modified.
Conversely removing these lines causes the VirtualHost to revert to the PHP version used as an Apache module.

For Alias, it's a little less simple, you need to add the previous lines in two parts, the first part:

<IfModule fcgid_module>
  Define FCGIPHPVERSION "7.4.27"
  FcgidCmdOptions ${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe \
  InitialEnv PHPRC=${PHPROOT}${FCGIPHPVERSION}/php.ini
</IfModule>

just before the <Directory... directive.
The second part:

<IfModule fcgid_module>
  <Files ~ "\.php$">
    Options +Indexes +Includes +FollowSymLinks +MultiViews +ExecCGI
    AddHandler fcgid-script .php
    FcgidWrapper "${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe" .php
  </Files>
</IfModule>

inside the <Directory...>..</Directory> context so as to obtain, for example for any Alias, the following structure:

Alias /myalias "g:/www/mydir/"
<IfModule fcgid_module>
  Define FCGIPHPVERSION "7.4.27"
  FcgidCmdOptions ${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe \
  InitialEnv PHPRC=${PHPROOT}${FCGIPHPVERSION}/php.ini
</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>

X
How to use MySQL and/or MariaDB?
What is a default DBMS?
How to change the default DBMS?
Go to the related help: Right-click Wampmanager icon -> Help -> MariaDB - MySQL