Skip to main content

Custom vhost template ignored

Comments

4 comments

  • cPanelMichael
    Hi Ed, Was this system updated to cPanel version 68? If so, note the following sections in the cPanel 68 Release Notes: Thank you.
    0
  • egifford_corexcel
    Hi Michael, Thanks for your help. I should have included my version number for cPanel: 66.0.27. We're not on version 68 (yet). I'll keep these notes in mind for when we upgrade. I should also include that when I noticed the issue with httpd.conf, rerunning /usr/local/cpanel/scripts/rebuildhttpdconf fixed it. I'm still digging to see if I can replicate what happened. Some things I'm trying:
      ]
    • Changing Apache config through EasyApache4 UI. (This didn't replicate the issue.)
    • Change the installed packages via EasyApache4. (This didn't replicate the issue.)
    • Tweak PHP settings for vhosts through their cPanel accounts. (Haven't tried it yet.)
    • Go out and a few beers. (Haven't tried it yet for this particular problem.)
    I'll update this thread if I figure this out.
    0
  • egifford_corexcel
    Here is what I think happened... I've been busy customizing our PHP-FPM settings found in /var/cpanel/userdata/{user}/{domain}.php-fpm.yaml and then using /usr/local/cpanel/scripts/php_fpm_config --rebuild to deploy/regenerate my settings into /opt/cpanel/ea-php70/root/etc/php-fpm.d/{domain}.conf. It is looking like that script is not respecting the VirtualHost changes that I made. I've verified this by looking at httpd.conf before and after running the php_fpm_config script. The customizations go away after running the script. My work around is to always run /usr/local/cpanel/scripts/rebuildhttpdconf after running the php_fpm_config script. Am I using the php_fpm_config script incorrectly?
    0
  • cPanelMichael
    I've been busy customizing our PHP-FPM settings found in /var/cpanel/userdata/{user}/{domain}.php-fpm.yaml and then using /usr/local/cpanel/scripts/php_fpm_config --rebuild to deploy/regenerate my settings into /opt/cpanel/ea-php70/root/etc/php-fpm.d/{domain}.conf.

    This looks to relate to internal case EA-5615, which is open to address a similiar report referenced on the following thread: PHP-FPM PHP.ini configuration Thank you.
    0

Please sign in to leave a comment.