How to install Wordpress on local windows server?
There are many blog service provider on the Internet, but sometimes we want to install a wordpress blog on my windows xp operating system, how can we do it?
Here’s a little guide that will help you install and run a Wordpress blog locally on your windows XP os in less then 10 minutes:
Install wampserver on your computer, if you have any questions about it, you can find more details on my another airticle of Use wamp to build a php website running environment(windows) , keep the wampserver running.
- Open your web browser(IE,firefox…),and type http://localhost/phpmyadmin/ ,use the phpmyadmin to create a new database for wordpress .
- Download Wordpressand unzip it under the WWW folder (generally c:\wamp\www) ,and rename the default folder name to what you like, such as “blog”, “myblog”…etc.
- Rename the wp-config-sample.php file to wp-config.php.
Open wp-config.php in your favorite text editor and fill in your database details. Attention, you should not use notepad.exe to edit the wp-config.php file, otherwise an error may be occurred.A text editor is a program which edits files in plain text format, as compared to binary format. Using a non-text based word processing program (e.g. using Microsoft Word to edit PHP scripts) can cause major problems in your code. This is because non-text based word processing programs insert extra formatting into text files, and can corrupt the files when they need to be interpreted by the interpreter. An editor like Notepad does not insert any extra formatting. Edit WordPress Files with a text only editor. some examples are UltraEdit-32, TextPad, EditPlus, Notepad++ …etc. - Run the WordPress installation script by accessing http://localhost/myblog/wp-admin/install.php in your favorite web browser. The myblog folder is the one you put all files in, maybe another name.
That’s all, it’s so easy to install it on local computer, if you’v installed successfully, let me know.
