Installing ElasticPress - Final steps

Avatar
  • Answered
Hello,

I have installed elasticsearch and WP-CLI.

I have now accessed via ssh and when I rung the setup command I get this:

[email protected] [~]# wp elasticpress index --setup
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20131226/apc.so' - /usr/lib/php/extensions/no-debug-non-zts-20131226/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0

What might be the problem here? Should I do the setup command as root user?

Thanks!
Avatar
Arn
Hello MarcusFuto, Sorry for the problem when installing Elasticsearch and wp-cli. Typically, that error is appearing because the extension (apc.so) is not available for installation. APC.SO stands for Alternative PHP Cache, and it may not be on the server in order load it. The installation command doesn't load it on the server, it is for loading into your application. Your best course of action is to submit a verified support ticket if you are not familiar with installing the extension through the root user. I hope this helps to answer your question, please let us know if you require any further assistance. Regards, Arnel C.