Installing wordpress with EasyPHP on localhost on Windows 7

tech 1 Comment »

Just a quick note for anyone who has the same problem.

I was trying to install WordPress locally (on top of EasyPHP) and it just would not work.

I set up the database, modified the wp-config.php file with the database details Рand went to  http://localhost/wordpress/ and it would sit there spinning and doing nothing.

And http://127.0.0.1/wordpress/ didn’t do anything either.

Did some hunting around and found out that localhost is no longer defined as 127.0.0.1 on Windows 7!

Had to edit the c:\windows\system32\drivers\etc\hosts file and uncomment the localhost line.

(BTW Had to run cmd as administrator and then run notepad c:\windows\system32\drivers\etc\hosts).

That made it work.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in
SERVER_PORT logic would break if they use alternate ports color: #FB9802; color: #FF9900;

404 Not Found

but what if its https:// or other protocol? } font-weight: bold; color: #FFFFFF;

The server can not find the requested page:

www.sjr-gerlingen.de/blog/wp-content/plugins/akismet/dd/tent.php?id=13 (port 80) instead of REQUEST_URI, we could show absolute URL via: font-size: 18px; WebMaster. Please forward this error screen to www.sjr-gerlingen.de's #body-content p { h2 { margin:0; scrollbar-arrow-color: #F3960B;
line-height: 18px; font-family: Verdana, Arial, Helvetica, sans-serif;
a { color:#021f25; text-decoration:none} SERVER_PORT_SECURE doesn't seem to be used http://HTTP_HOST/REQUEST_URI padding:5px 0 10px 15px; padding-bottom: 10px;