sk-php-selector
sk-php-selector copied to clipboard
select php version per directory
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>
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