Comments on Getting Started with WordPress WP-CLI and Nginx on Ubuntu 22.04
WP-CLI is a tool to provide a command line interface to install and manage a WordPress site. This tutorial explains the installation of Wordpress on a LEMP (Linux + Nginx + MySQL + PHP) server with WP-CLI and shows how to install plugins and themes with WP-CLI on the command line.
2 Comment(s)
Comments
Hy,
I'm trying execute wp --info
I get an error:
wp --info
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required '/usr/share/php/php_value_hack.php' (include_path='.:/usr/share/php/:/usr/lib/php5/') in Unknown on line 0
How to solve it ?
Thanx
Hi!
I am trying to install wp-cli in restricted shell - Lshell - everything is working, but not tab completion. In normal bash shell its working, but not in restricted shell. Reason is "source" command is bash builtin command and can not be executed in restricted shell.
Can anyone help me on this ......