• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Adding apcu.ini to php.d fails

f31ixx

New Pleskian
Dear forum members,

Sorry for creating again a topic about installing APCu but none of the threads before in this forum helped me with my issue.

I have a Nextcloud installed on my server and therefore I need APCu for caching.
I used this step by step guide to do it: How to install APCu module on Plesk server ? - Knowledgebase - Cloud Services Store Limited
The installation itself worked fine but adding the apcu.ini to the php.d file via
Code:
echo "extension=apcu.so" > /opt/plesk/php/7.3/etc/php.d/apcu.ini
failed. It said that I don't have access to it even if I've sudo-rights (see attatchment).

Does anyone of you have an idea of how to solve this issue?

Here some additional information about the server:
- Operating System: Ubuntu 18.04.5 LTS
- Kernel: Linux 4.15.0
- Architecture: x86-64
- PHP-Version: 7.3.27
- APCu-Version: 5.1.20
- Plesk-Version: Obsidian 18.0.34

Thanks for any help in advance!

Have a good day and kind regards,

f31ixx
 

Attachments

  • php-d-issue2.png
    php-d-issue2.png
    11.5 KB · Views: 7
Last edited:
Are you trying this as the Root user? if you are, this is the only thing I think of,

Please try,

# cd /opt/plesk/php/7.3/etc/php.d/

# ls -l apcu.ini

If any output,

# lsattr apcu.ini

If you have "i" in the above output, This can prevent even the root user editing this file. In that case,

# chattr -i apcu.ini
 
Back
Top