• Resolved phantom21

    (@phantom21)


    I’ve been trying to install wordpress through the CLI and managed to everything up to the following

    wp core install

    with the parameters –url –title –admin_user –admin_email

    The problem is it keeps giving me this

    Error: The ‘{EMAIL ADDRESS}’ email address is invalid

    I’ve tried several different ways to enter the email address, which is a legitimate email address, but can’t get out of this. What is wrong?

    Using the most recent wp-cli version and everything up to this point seems to work.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Tim Nash

    (@tnash)

    Spam hunter

    so it should be something like:

    wp core install --url=https://example.com --title="Just another test site" ----admin_name=myadmin [email protected] --admin_password=mypassword

    There shouldn’t be a need to use back ticks or similar, if this is not working did you copy and paste the email, if you did consider typing it just to make sure you haven’t accidentally copied some weird character set.

    If that doesn’t work what OS are you using

    Thread Starter phantom21

    (@phantom21)

    Thank you. I’ve been putting my responses to those questions in curly brakets, didn’t realize I had to replace those with quotes. I now have it installed, but I’m getting the following error when I try to browwse to the page

    Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

    I have installed the php5-mysql package, and I have configured it for a MySQL remote access. So I don’t understand the problem. Can you help me here?

    Thanks

    Thread Starter phantom21

    (@phantom21)

    OK, solved. Needed to restart Apache2. Man I feel dumb.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CLI command shows error: invalid email address’ is closed to new replies.