Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

How change the PHP version of each Alias (no replies)

$
0
0
Thank you to everyone involved in the development of the WAMServer 3.3.1.

Currently, all my web applications are using version 7.4.33. Web applications are separate Aliases.
All required PHP versions are installed:
"C:\wamp64\bin\php\php7.4.33"
"C:\wamp64\bin\php\php8.1.31"
"C:\wamp64\bin\php\php8.4.1"

Please tell me if it is possible to configure the PHP version of each Alias?

==> I wrote this in the need Alias.
# Set PHP version
AddHandler application/x-httpd-php .php
Action application/x-httpd-php "/php8.4.1/php-cgi.exe"

==> fcgid_module in httpd.conf is by defoult
LoadModule fcgid_module modules/mod_fcgid.so
<IfModule fcgid_module>
FcgidMaxProcessesPerClass 300
FcgidConnectTimeout 10
FcgidProcessLifeTime 0
FcgidMaxRequestsPerProcess 0
FcgidMinProcessesPerClass 0
FcgidFixPathinfo 0
FcgidZombieScanInterval 20
FcgidMaxRequestLen 536870912
FcgidIOTimeout 120
FcgidTimeScore 3
FcgidPassHeader Authorization
Define PHPROOT ${INSTALL_DIR}/bin/php/php
</IfModule>


echo(phpversion());
showing "7.4.33"

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>