Installing ElasticPress - Final steps

  • Answered

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/' - /usr/lib/php/extensions/no-debug-non-zts-20131226/ 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?

Hello MarcusFuto, Sorry for the problem when installing Elasticsearch and wp-cli. Typically, that error is appearing because the extension ( 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.