• 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 PHP APCU Error with Nextcloud on Plesk

Fixel

New Pleskian
Hi everybody,

first of all:

im running nextcloud on my root server. And I'm not a linux professional.

Plesk Onyx Version 17.5.3 Runs at Ubuntu 14.04.5 LTS‬ with PHP version 7.0 used for nextcloud.

As in the Nextcloud performance Guide written, i tried to install APC/APCU inside Plesk to get it work with nextcloud and higher the performance.

I totally failed my plan and didn't get it work.

Since now i get errors, they are coming from the failed APCU installation. They are like every min in my nextcloud log and also in my Cron log inside Plesk. Its kinda annoying.

I dont really need the extension for php, I just wanted to test if it runs smoother or something. - Sadly I didn't get that far...

My Solution to solve this Problem is simply try to disable/uninstall/remove this extension.
But thats exactly my question, how to remove all the stuff which provides all the errors. I already tried some stuff, but didn't get it work.

Here are the Errors:

The Error inside Nextlcloud:
Code:
PHP Startup: Unable to load dynamic library '/opt/plesk/php/7.0/lib/php/modules/apcu.so' - /opt/plesk/php/7.0/lib/php/modules/apcu.so: cannot open shared object file: No such file or directory at Unknown#0

The Error inside Plesk while executing a CronJob, needed for nextcloud. (didnt get that error before installing APC)
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/7.0/lib/php/modules/apc.so' - /opt/plesk/php/7.0/lib/php/modules/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/7.0/lib/php/modules/apcu.so' - /opt/plesk/php/7.0/lib/php/modules/apcu.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/opt/plesk/php/7.0/lib/php/modules/apcu.so' - /opt/plesk/php/7.0/lib/php/modules/apcu.so: cannot open shared object file: No such file or directory in Unknown on line 0


Is there anyone who can help me solving my Problem?

Kind regards,

Felix

PS: I hope I'm in the correct forum right here.
 
First of all you need to find ini file where apcu.so module loading is specified. You can do it with following command:

# grep -R apcu.so /opt/plesk/php/7.0/etc/*

when just edit this file with commenting the line where apcu.so module is mentioned.
After that run

# plesk bin php_handler --reread

That's all.
 
Hi,

thank you for you're answer!

Looks fine for now, no errors atm anymore.

Thank you very much for helping me:D
 
Back
Top