WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] cannot install wordpress in local (4 posts)

  1. fedone
    Member
    Posted 1 year ago #

    Hi guys. Will be brief.
    Trying to run wordpress in local since 2 days.
    Red tons of posts.
    Made tons of tries.
    Getting frustrated.
    Here is the issue:
    I have win XP, I followed the instructions below:
    Installing WordPress on Your Windows Desktop
    1.Download and install XAMPP.
    2.This installs by default into C:/xampplite or C:\xampp.
    3.Start XAMPP from c:\xampplite or c:\xampp.
    4.You may need to restart your computer to allow apache services to start.
    5.In your browser, go to http://localhost/xampp.
    6.In the left column under Tools, click phpMyAdmin.
    7.Login is admin.
    8.In Create new database enter wordpress.
    9.In the next box, select utf8 unicode ci.
    10.Click Create button.
    11.Unzip your WordPress download into the htdocs directory - c:\xampp\htdocs\<yourwebsite>.
    12.From the <yourwebsite> folder, open wp-config.php in a text editor.
    13.The connection details you need are as follows:
    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'root'); // Your MySQL username
    define('DB_PASSWORD', ''); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this
    14.Save as wp-config.php.
    15.Install by going to http://localhost/wordpress/wp-admin/install.php

    when I try the point 15 I get:
    // ** MySQL settings ** // define('DB_NAME', 'super'); // The name of the database define('DB_USER', 'root'); // Your MySQL username define('DB_PASSWORD', ''); // ...and password define('DB_HOST', 'localhost'); // 99% chance you won't need to change this
    Fatal error: Call to undefined function __() in C:\xampp\htdocs\wordpress\wp-admin\includes\file.php on line 11

    thank you for your time

  2. Abhishek Ghosh
    Member
    Posted 1 year ago #

  3. Baguio Ads
    Member
    Posted 1 year ago #

    Buddy,

    Read on my article here, it's an instruction on how to setup a local web server for wordpress installation.

  4. fedone
    Member
    Posted 1 year ago #

    thank you guys, I found another solution:
    Install WordPress portable.
    I can now use with no problems, everything comes already set.

    Thank you for your efforts, support and time

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.