Skip to main content

Can't seem to switch php handler to fcgi.

Comments

12 comments

  • cPRex Jurassic Moderator
    Hey there! If you go back into EasyApache and use the "customize" option, it would tel you if there are any handlers that would be in conflict, and give you an option to adjust that. As far as the profiles, you can only remove custom profiles and not the system defaults, which is likely why you don't see that option. There's an older feature request for this at
    0
  • rhm.geerts
    Some sites did not work anymore, throwing error so I had to put back the previous backup. So might have indeed been the php handlers which were causing the issue. I had started the customize option again to check this, but it did not state any conflict. It did when I changed the handler, but it automatically disabled the old handler and mod_ruid2 (because I selected mpm_event too). But it looked as something has went wrong during provisioning. Set everything back and now the sites throwing error 500's are running again. I already upvoted the feature request in the past. I didn't remember the directory mentioned there to manually remove the profiles. However, would be much nicer and easier if the root admin could just select them from the GUI and then select delete. Thank you for being willing to bring that up again during the meeting. So something must have gone wrong during provisioning, but I think we only are going to try again after the holidays, to be sure everything keeps running for now. Oh yes, last question, if we are going to run php-fpm with fastcgi, will .htaccess files still be able to be used? Is htscanner installed automatically or something? Or do we even need htscanner for this?
    0
  • cPRex Jurassic Moderator
    .htaccess will still work well. It might be a good idea to submit a ticket to our team when you are ready to try that switch again so we can see what's going on with the system and help you avoid potential downtime on the sites.
    0
  • rhm.geerts
    Oh that would be nice. I'm normally doing things like this at night time (around 01.00 GMT+1) to prevent disturbing customers. Maybe next time I can better first disable the conflicting stuff, then use the provision and then change to mod_proxy_fcgi and mpm_event and then provision again instead of letting cPanel do it all automatically?
    0
  • cPRex Jurassic Moderator
    Our team is around 24x7, so time doesn't matter to us. We can even try and schedule the ticket to be checked during a certain time for you if that would help.
    0
  • rhm.geerts
    That would be great, thank you for the offer. I'll give it another try early next year and if it doesn't work again, then I will make use of the offer. Thank you very much.
    0
  • cPRex Jurassic Moderator
    Sure thing!
    0
  • rhm.geerts
    Sure thing!

    We're in the new year so I get back at this. And now suddenly I stumbled onto this answer from your collegue in another thread:
    0
  • cPRex Jurassic Moderator
    For 1 and 2, yes, just open a ticket. For option 3, the tools are still experimental but our team would be happy to take a look at that for you and see if there is anything that would keep that from working well on your system.
    0
  • rhm.geerts
    Thank you very much. As for 3 I asked that since I see a lot of automatic backups from profiles going on, which are stating about conversion to Almalinux 8. Which made me things the tools were already quite stable. But if the tools are experimental, we might better wait a bit for that as Centos 7 is not end of support yet and maybe end of the year the tools might be improved. Or otherwise in a year maybe the owner wants to get a new server. I will shoot in a ticket then this week for 1 and 2. Thank you!
    0
  • cPRex Jurassic Moderator
    The big reason to get off CentOS 7 at this point is PHP 8.2 support, as we don't plan to release that for CentOS 7.
    0
  • rhm.geerts
    Ah oke, good to let me know. However, we will not be using anything higher than php 8.1 for the time being on that server. But it's good to know in case something comes up, thank you.
    0

Please sign in to leave a comment.