Hi,
I already explained how, with Apache 2.4.52fcgi, to use another version of PHP than the default one of Wampserver for VirtualHost.
See : [
forum.wampserver.com]
For Alias, it's a little bit different.
Let's suppose that we want to launch PhpMyAdmin 5.1.1 with PHP 7.4.27 while the PHP version of Wampserver is 8.1.1.
The alias must be modified as follows:
Alias /phpmyadmin "${INSTALL_DIR}/apps/phpmyadmin5.1.1/"
<IfModule fcgid_module>
Define FCGIPHPVERSION "7.4.27"
FcgidInitialEnv PHPRC ${PHPROOT}${FCGIPHPVERSION}
</IfModule>
<Directory "${INSTALL_DIR}/apps/phpmyadmin5.1.1/">
Options +Indexes +FollowSymLinks +MultiViews
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>
# To import big file you can increase values
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons