mod_php vs php-fpm

rnbwkat

Verified User
Joined
May 3, 2016
Messages
36
This is probably something simple I am missing - but..
Trying to move from mod_php to php-fpm, but when I change it in options.conf, apache restarts, but none of my websites load. They have erros, all related to php options in .htaccess. Is there something I am missing in the migration process? Probably something obvious I'm sure. Is there a guide for DA that shows the process that I just can't find?

Thanks
 
all related to php options in .htaccess. Is there something I am missing in the migration process?
Yes. Problem is that php-fpm does not support .htacces files, or only a few things. But that can easily be fixed.

1.) Be sure mod_ruid2 is disabled, you don't need that anymore.
2.) Check this to switch to php-fpm, the htscanner installation is mentioned too:

If you do all the commands (both blocks), everything should in fact be fine again including .htaccess files.
 
Back
Top