1

I'm trying to change php version (from 7.1.22 to 5.6) using php-cgi on the server.

I've setup symbolic link /cgi-bin/php-cgi with target on /path/to/php-cgi56.

.htaccess:

AddHandler php-cgi .php
Action php-cgi /cgi-bin/php-cgi
DirectoryIndex index.php index.php5

<IfDefine SSL>
    AddHandler php-cgi .php
    Action php-cgi https://secure.name.com/domain.com/cgi-bin/php-cgi
</IfDefine>

But it doesn't work.

Am I missing something?

s78
  • 23
  • 6

0 Answers0