“Instal beberapa versi PHP Windows XAMPP” Kode Jawaban

Instal beberapa versi PHP Windows XAMPP

Listen 8056
<VirtualHost *:8056>
    <FilesMatch "\.php$">
        SetHandler application/x-httpd-php56-cgi
    </FilesMatch>
</VirtualHost>
Condemned Caribou

Instal beberapa versi PHP Windows XAMPP

<VirtualHost localhost56:80>
    DocumentRoot "C:\xampp\htdocs56"
    ServerName localhost56
    <Directory "C:\xampp\htdocs56">
        Require all granted    
    </Directory>
    <FilesMatch "\.php$">
        SetHandler application/x-httpd-php56-cgi
    </FilesMatch>
</VirtualHost>
Condemned Caribou

Instal beberapa versi PHP Windows XAMPP

ScriptAlias /php56 "C:/xampp/php56"
Action application/x-httpd-php56-cgi /php56/php-cgi.exe
<Directory "C:/xampp/php56">
    AllowOverride None
    Options None
    Require all denied
    <Files "php-cgi.exe">
        Require all granted
    </Files>
</Directory>
Condemned Caribou

Instal beberapa versi PHP Windows XAMPP

SetEnv PHPRC "\\path\\to\\xampp\\php"
Condemned Caribou

Instal beberapa versi PHP Windows XAMPP

<Directory "C:\xampp\htdocs\my_old_project1">
    <FilesMatch "\.php$">
        SetHandler application/x-httpd-php56-cgi
    </FilesMatch>
</Directory>

<Directory "C:\xampp\htdocs\my_old_project2">
    <FilesMatch "\.php$">
        SetHandler application/x-httpd-php56-cgi
    </FilesMatch>
</Directory>
Condemned Caribou

Jawaban yang mirip dengan “Instal beberapa versi PHP Windows XAMPP”

Pertanyaan yang mirip dengan “Instal beberapa versi PHP Windows XAMPP”

Lebih banyak jawaban terkait untuk “Instal beberapa versi PHP Windows XAMPP” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya