Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Using WP-Cli



Normal Mode | Print  

 Using WP-Cli, WP-Cli seems to be broken (8 Replies, Read 4716 times)
azanebrain
Group: Member
Post Group: Newbie
Posts: 4
Status:
I've setup wp-cli (wp-cli.org/) on my machine, but it is unable to run any commands from the path of the wordpress site.
Running the basic `wp` command returns this error:

Error:
<h1>Error establishing a database connection</h1>
<p>This either means that the username and password information in your <code>wp-config.php</code> file is incorrect or we can't contact the database server at <code>localhost</code>. This could mean your host's database server is down.</p>
<ul>
    <li>Are you sure you have the correct username and password?</li>
    <li>Are you sure that you have typed the correct hostname?</li>
    <li>Are you sure that the database server is running?</li>
</ul>
<p>If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href='wordpress.org/support/'>WordPress Support Forums</a>.</p>

I have found a lot of support for this error with MAMP, but nothing with AMPPS. The main lead seems to be the bath to the PHP binary, however I've had no luck.
link: github.com/wp-cli/wp-cli/wiki/Alternative-Install-Methods

Has anyone been able to figure out how to run wp-cli with AMPPS?
IP: --   


Threads
 azanebrain   Using WP-Cli, WP-Cli seems to be broken (8 Replies, Read 4716 times)
    |--  tidus   Hi, AMPPS PHP...   on April 7, 2014, 7:14 am
    |--  azanebrain   Are those paths...   on April 7, 2014, 5:33 pm
    |--  tidus   Hi, You can...   on April 7, 2014, 5:34 pm
    |--  azanebrain   Thanks for the...   on April 7, 2014, 7:14 pm
    |--  tidus   Hi, AMPPS/bin/php ?...   on April 8, 2014, 5:26 am
    |--  azanebrain   That's the command...   on April 8, 2014, 4:09 pm
    |--  tidus   Hi, PHP 5.3.28....   on April 9, 2014, 8:57 am
    |--  lrussell   I just ran...   on April 23, 2014, 8:04 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 29, 2024, 9:28 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.028