Setup multi version PHP on same server

LoadModule fastcgi_module /usr/local/Cellar/mod_fastcgi/2.4.6/libexec/mod_fastcgi.so SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1 FastCgiExternalServer /Work/domains/cgi-bin/php54-fcgi -idle-timeout 60 -host 127.0.0.1:9054 -pass-header Authorization AddHandler php54-fcgi .php Action php54-fcgi /php54-fcgi Alias /php54-fcgi /Work/domains/cgi-bin/php54-fcgi FastCgiExternalServer /Work/domains/cgi-bin/php55-fcgi -idle-timeout 60 -host 127.0.0.1:9055 -pass-header Authorization # AddHandler php55-fcgi .php Action php55-fcgi /php55-fcgi Alias /php55-fcgi /Work/domains/cgi-bin/php55-fcgi FastCgiExternalServer /Work/domains/cgi-bin/php53-fcgi -idle-timeout 60 -host 127.0.0.1:9053 -pass-header Authorization # AddHandler php53-fcgi .php Action … Read more

Share