Php versión for a folder

zomebodi

Verified User
Joined
Sep 3, 2023
Messages
40
We have Directadmin / cloudlinux / openlitespeed / selector

installed php version 5.6, 7.4, 8.1 (on selector)

We need to activate php 5.6 on a folder when default php version of the account is 8.1.-

We try with .htaccess

<FilesMatch "\.(php4|php5|php3|php2|php|phtml)$">
SetHandler application/x-lsphp56
</FilesMatch>

No luck...
 
No idea if it will work but found this:

or see

 
Back
Top