When using PHP as an Apache module, this module is loaded via httpd.conf with the command :
PHPIniDir "${APACHE_DIR}/bin"
LoadModule php_module "${INSTALL_DIR}/bin/php/php8.3.2/php8apache2_4.dll"
php_module is the responsibility of Apache
php8apache2_4.dll is PHP responsibility
Ask your question on the ApacheLounge Apache forum.
Note: It's not very complicated to switch to FCGI mode. See "FCGI mode help" on the Wampserver home page ('http://localhost/')
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons