• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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