sk-php-selector icon indicating copy to clipboard operation
sk-php-selector copied to clipboard

select php version per directory

Open juanbits opened this issue 4 years ago • 1 comments

Hi, i have installed your tool, and now I have a doubt related about how can i specify the php version per folder instead or plus to the way that the php version by website is selected

something like to specify in the htaccess the AddHandler

In whm/cpanel i have something like: <IfModule mime_module> AddHandler application/x-httpd-ea-php71 .php .php5 .phtml </IfModule>

juanbits avatar Oct 14 '19 18:10 juanbits

i try with add this line on .htaccess but no works, the php continue in this folder with the default server version (phpinfo...) AddHandler application/x-httpd-php71="php:/usr/bin/php71-cgi" .php

juanbits avatar Oct 14 '19 18:10 juanbits