500 internal server error after switching to PHP FPM in Froxlor?

If you are using Debian, you need to change the “Configuration directory of php-fpm”, and since the control panel is dead, you have to do it from a terminal, using mysql.
Personally, I’d recommend disabling cron like the how to on their site says to do, and then enabling it, changing the settings, then forcing cron to run.
I followed the directions under the Configuration. Didn’t say that I was going to kill it if I didn’t go to their site.
Also, change php-fpm to php5-fpm. Or run ln -s /etc/init.d/php5-fpm /etc/init.d/php-fpm, better to change it.
Commands below to fix it. I got the password from “/etc/libnss-mysql-root.cfg”.

mysql -u froxlor -p
use froxlor;
UPDATE panel_settings SET value='/etc/php5/fpm/pool.d' where settingid=56;
UPDATE panel_settings SET value='/etc/init.d/php5-fpm' where settingid=57;
/usr/bin/php5 /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug
service php5-fpm restart
service apache2 restart

You can get the settingid by typing “select * from panel_settings where settinggroup=’phpfpm’;”.
Switched to hopefully get rid of the 500 internal server errors, but changing the timeout might be all you need. But PHP FPM is still better. Maybe this site needs two cores, not if I block all the bots.
And after you logout of the panel, you’ll need to type “chown -R froxlorlocal:froxlorlocal /var/www/froxlor”.
If you don’t have a basic understanding of MySQL, you’ll need to restore a backup. Speaking of, I need to backup Froxlor’s database, so next time I can just restore a backup.
Nice, a setting is wrong, it keeps changing the permissions. Enabled PHP FPM under “Froxlor VirtualHost settings”.
My Froxlor database should be backed up now, when the backup script runs.