FCGI -> PHP 5.6.40
FCGI -> PHP 5.6.40
Le ServerName ebook.fidelium.ma:443 comporte des erreurs de syntaxe dans le fichier c:/wamp64/bin/apache/apache2.4.46/conf/extra/httpd-vhosts.conf
Le ServerName e-book.admaroc.ma:443 comporte des erreurs de syntaxe dans le fichier c:/wamp64/bin/apache/apache2.4.46/conf/extra/httpd-vhosts.conf
Le nombre DocumentRoot ne correspond pas au nombre de ServerName dans le fichier c:/wamp64/bin/apache/apache2.4.46/conf/extra/httpd-vhosts.conf
Le chemin C:/wamp64/www pour <Directory ... n'est pas terminé par un slash /
Le nombre <VirtualHost ne correspond pas au nombre de ServerName dans le fichier c:/wamp64/bin/apache/apache2.4.46/conf/extra/httpd-vhosts.conf
Warning: PHP Startup: Unable to load dynamic library 'c:/wamp64/bin/php/php5.6.40/ext/php_pdo_sqlsrv_56_nts.dll' - %1 n�est pas une application Win32 valide.
LoadModule php_module "${INSTALL_DIR}/bin/php/php8.1.1/php8apache2_4.dll"
LoadModule fcgid_module modules/mod_fcgid.so
(Non commentée - pas de # au début)
<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}/php.ini"
<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"
FcgidCmdOptions ${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe \
InitialEnv PHPRC=${PHPROOT}${FCGIPHPVERSION}/php.ini
</IfModule>
<Directory...
<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...>...</Directory>
de manière à obtenir, par exemple pour un Alias quelconque, la structure suivante :
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>