Page 1 of 1

Error install Wordpress on AWS Lightsail

PostPosted:20 Nov 2018 06:40
by preketeque
When try to install wordpress + redis cache, always got error like this:

/etc/vpssim/menu/vpssim-them-website-wp-auto-install-redis-cache: line 264: wp: command not found
Can't open wp-config.php: No such file or directory.
/etc/vpssim/menu/vpssim-them-website-wp-auto-install-redis-cache: line 266: wp: command not found
sed: can't read /home/sotokota.com/public_html/wp-config.php: No such file or directory
sed: can't read /home/sotokota.com/public_html/wp-config.php: No such file or directory
sed: can't read /home/sotokota.com/public_html/wp-config.php: No such file or directory
/etc/vpssim/menu/vpssim-them-website-wp-auto-install-redis-cache: line 272: wp: command not found
/etc/vpssim/menu/vpssim-them-website-wp-auto-install-redis-cache: line 273: wp: command not found
/etc/vpssim/menu/vpssim-them-website-wp-auto-install-redis-cache: line 274: wp: command not found
/etc/vpssim/menu/vpssim-them-website-wp-auto-install-redis-cache: line 275: wp: command not found
cp: cannot stat ‘/home/sotokota.com/public_html/wp-content/plugins/redis-cache/includes/object-cache.php’: No such file or directory

Re: Error install Wordpress on AWS Lightsail

PostPosted:20 Nov 2018 08:19
by nguyenoanh
Hello.
I will fix this bug soon.
Now, you need run these command below:
Code: Select all
cp -f /etc/vpssim/menu/inc/wp-cli/wp-cli.phar /usr/bin/wp
chmod +x /usr/bin/wp
Then it will be fixed,

Re: Error install Wordpress on AWS Lightsail

PostPosted:20 Nov 2018 11:47
by preketeque
Thnak you sir, it works! ;)

Re: Error install Wordpress on AWS Lightsail

PostPosted:20 Nov 2018 16:10
by nguyenoanh
preketeque wrote:
20 Nov 2018 11:47
Thnak you sir, it works! ;)
You're wellcome :)