Skip to main content

Permission denied in cPanel > MultiPHP Manager after enabling PHP-FPM

Comments

11 comments

  • Nirjonadda
    This issue happen with enable PHP-FPM. I have disabled PHP-FPM then no error.
    0
  • 24x7server
    Hi, The first line suggests that there is a permission issue occurring in it and you need to thoroughly check whether this issue is only occurring when you change the PHP for only one user or all the users.. ---------------- ---------------- Failed to open "/var/cpanel/userdata/nmela/mysite.net.php-fpm.cache" for reading: Permission denied at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 368. at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 368. ---------------- ---------------- Also, try reinstall php-fpm
    0
  • Nirjonadda
    Hi, The first line suggests that there is a permission issue occurring in it and you need to thoroughly check whether this issue is only occurring when you change the PHP for only one user or all the users.. ---------------- ---------------- Failed to open "/var/cpanel/userdata/nmela/mysite.net.php-fpm.cache" for reading: Permission denied at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 368. at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 368. ---------------- ---------------- Also, try reinstall php-fpm

    How to reinstall php-fpm for PHP 7.1 ?
    0
  • cPanelMichael
    Hello, Could you verify which version of cPanel is installed on the affected system? Thank you.
    0
  • Nirjonadda
    Hello, Could you verify which version of cPanel is installed on the affected system? Thank you.

    I am installed v66.0.10
    0
  • cPanelMichael
    I am installed v66.0.10

    Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.
    0
  • Nirjonadda
    Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.

    Support Request ID is: 8779617
    0
  • 24x7server
    How to reinstall php-fpm for PHP 7.1 ?

    Hi, You can do this directly from the EasyApache4 section of the WHM, where you can first remove this and then install it again. EasyApache 4 Home - EasyApache 4 - cPanel Documentation
    0
  • Nirjonadda
    Hi, You can do this directly from the EasyApache4 section of the WHM, where you can first remove this and then install it again.
    0
  • cPanelMichael
    Hello, To update, internal case CPANEL-15097 is open to address an issue where enabling PHP-FPM on a domain creates a php-fpm.cache userdata file with 0600 permissions, leading to a "Permission Denied" error message when opening MultiPHP Manager in cPanel. I'll monitor the status of this case and update this thread once a resolution is published. In the meantime, the temporary workaround is to manually correct the permissions on the $domain.tld.php-fpm.cache file for the affected account with a command like this:
    chmod 0644 /var/cpanel/userdata/$username/$domain.tld.php-fpm.cache
    Replace "$username" with the cPanel username of the affected account, and replace "$domain.tld" with the affected domain name. Thank you.
    0
  • cPanelMichael
    Hello, To update, the resolution is included with cPanel version 66.0.13: Fixed case CPANEL-15097: Ensure users can read their php-fpm cache files. The full cPanel version 66 change log is available at the following URL: 66 Change Log - Change Logs - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.