0

I've tried this Is there way to use two PHP versions in XAMPP?

PHP version 4.3.4 does not have nts install. So there's no php-cgi.exe.Then I tried to run php.exe instead of php-cgi.exe by making change in the file below. It doesn't seem to work. Is there any way I can run this php version on Xampp?

Here is my httpd-xampp.conf file

ScriptAlias /php43/ "C:/xampp/php43/"
<Directory "C:/xampp/php43">
    AllowOverride None
    Options None
    Require all denied
    <Files "php.exe">
          Require all granted
    </Files>
</Directory>

Listen 85
<VirtualHost *:85>
UnsetEnv PHPRC
    <FilesMatch "\.php$">
    php_flag engine off
        SetHandler application/x-httpd-php43
    Action application/x-httpd-php43 "php43/php.exe"
    </FilesMatch>
</VirtualHost>
Alvin Mathis
  • 110
  • 1
  • 10

0 Answers0