Error installing WP

Hi there,

I just created a new droplet on Digital Ocean with a LEMP stack install. When executing command : $ sudo ee site create example.com --wp Running pre-update checks, please wait… Setting up NGINX configuration [Done] Setting up webroot [Done] Downloading Wordpress [Fail] Oops Something went wrong !! Calling cleanup actions …

I checked tail: -n100 /var/log/ee/ee.log

and this is the tail end of the log

2015-12-02 17:11:45,282 (INFO) ee : Downloading Wordpress 2015-12-02 17:11:45,282 (DEBUG) ee : Changing directory to /var/www/nickponte.com/htdocs/ 2015-12-02 17:11:45,282 (DEBUG) ee : Running command: wp --allow-root core download 2015-12-02 17:11:45,289 (DEBUG) ee : Command Output: , Command Error: /usr/bin/env: php: No such file or directory

2015-12-02 17:11:45,290 (INFO) ee : [Fail] 2015-12-02 17:11:45,290 (DEBUG) ee : ‘download wordpress core failed’ 2015-12-02 17:11:45,290 (INFO) ee : Oops Something went wrong !! 2015-12-02 17:11:45,290 (INFO) ee : Calling cleanup actions …

Any ideas on this? I’m sure this is super easy for someone who has a little more experience than I.

Thanks so much in advance. -N

@nick123456

can you provide us output for which wp and which php command/

1 Like

nick@xx:~$ which wp /usr/bin/wp nick@xx:~$ which php nick@xx:~$

I never use sudo to run EE. I always enable shell to user root and run EE as root instead of sudoing anything.

Perhaps you could give it a try.

1 Like

@nick

Looks like you have no php path setup so unable to run wp-cli commands.

Please check with sudo ee stack install --php

1 Like