masterjrock
New member
- Joined
- Jun 16, 2021
- Messages
- 2
Ughh... Finally solved for my purpose -- the AddHandler and SetHandler did the trick!!!
For those struggling with this issue on FPM/FastCGI
just add .htaccess on the folder you want to modify php version and include the ff:
please note the value of the AddHandler corresponds with the value found in your httpd conf.
.htaccess file
========
AddHandler "proxy:unix:/usr/local/php56/sockets/ult3pult3.sock|fcgi://localhost" .inc .php .phtml .php56
SetHandler "proxy:unix:/usr/local/php56/sockets/ult3pult3.sock|fcgi://localhost"
For those struggling with this issue on FPM/FastCGI
just add .htaccess on the folder you want to modify php version and include the ff:
please note the value of the AddHandler corresponds with the value found in your httpd conf.
.htaccess file
========
AddHandler "proxy:unix:/usr/local/php56/sockets/ult3pult3.sock|fcgi://localhost" .inc .php .phtml .php56
SetHandler "proxy:unix:/usr/local/php56/sockets/ult3pult3.sock|fcgi://localhost"