Local WAMP Install


Author Message
speedyp

Posted: 11/30/2013
Quote message 

Just installed my first XAMPP wordpress install directly on my PC & I love it!

Easy install and everything really flies compared to online.

Loads of guides available, but lookout for enabling apache mod rewrite if you're importing an existing site and want to change your permalinks 8-)

Also the standard myphp login user is "root" with no password - they didn't mention that in the guide I was following and couldn't create a database O:)
 
KeithAdv

Posted: 11/30/2013
Quote message 

Although I use XAMPP, I agree. I develop all my sites locally and then push them to the server.

When you develop locally, you have the added benefit of using code development tools as well--ones that "see" the entire WordPress install as a project. As I've been struggling to learn PHP, etc., I've been looking for the right IDE for me. There's always Dreamweaver, but lately I've been spending more time with CodeLobster.
 
KeithAdv

Posted: 11/30/2013
Quote message 

(When I wrote "Although I use XAMPP..." I was looking at your subject line, which mentioned WAMP. I see now you use XAMPP as well.)
 
speedyp

Posted: 11/30/2013
Quote message 

Quote KeithAdv:

(When I wrote "Although I use XAMPP..." I was looking at your subject line, which mentioned WAMP. I see now you use XAMPP as well.)


My stupid fault. Had been doing a ton of reading & had XAMPP on the brain. I've actually installed WAMP.

Any reason XAMPP is better? Sorry for the confusion - Wish we could edit our posts here.

 
Anakyst

Posted: 11/30/2013
Quote message 

I have several WP installs on a WAMP setup. If it helps here's a few configs. that make WAMP life easier...

1) Here's the mod re-write/wp-config that i put into ALL WP /websitename/ folders - prior to WP install.



2) I make all my websites on a non c: drive under a folder \websites. i.e. \websites\site1, \websites\site2 etc.. Give everyone up to modify permissions on the '\websites' folder - before you start!

3) In IIS edit your 'Bindings' hostname for all sites (except IIS default [inetpub]) and create these entries in your \drivers\etc\hosts file on both webserver AND client. e.g. on Server you will have:
127.0.0.1 localhost
::1 localhost
127.0.0.1 sitename1
::1 sitename1
127.0.0.1 sitename2
::1 sitename2
and on your production client you will have
127.0.0.1 localhost
Server IP# sitename1
Server IP# sitename2
(yes, i turn IPv6 off on my production box). Then, on webserver or client you can just http://sitename

4) Install MySQL Workbench 6.0 on webserver and production WkStation. (tons of fun)

5) easiest way to manage databases is from the webserver (with SQL command line client ver 5.5 (or just drop to a cmd prompt from your webserver ...\...SQL 5.5\bin folder as in: c:\SqlServer 5.5\bin> mysql.exe

6) a must!! http://www.pantz.org/software/mysql/mysqlcommands.html

7) Unfortunately, some WP Theme php coders pass empty strings to MySql databases. The default MySql for Windows setup is 'strict'. So, you have to un-strict it - from your mysql.ini in your c:\ProgramData\MySql - like so:
# Set the SQL mode to strict
# sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

8) When you nuke a site and re-create it - with fresh WP install files - don't forget to turn off IIS first!!

maybe there's some help there for someone :-)
 
KeithAdv

Posted: 11/30/2013
Quote message 

@speedyp

I don't think there's a whole lot of difference between the two; I've run them both.

It seems to me that there was a little more fiddling to do with WAMP to get it working with WP the way you want it to. I deleted it and installed XAMPP, which seems to suit me better for some reason.
 
www

Posted: 11/30/2013
Quote message 

Did you try Ampps ? Try it.
 
speedyp

Posted: 12/1/2013
Quote message 

Many thanks to all for the extra info and tips. Still learning :-)
 
Trevor

Posted: 12/1/2013
Quote message 

I use BitNami for my local server and Komodo Edit as my editor. I know CodeLobster has a commercial WordPress plugin for autocompletion of WordPress functions, but this can be setup in Komodo for free http://elektroelch.de/blog/using-komodos-calltips-with-wordpress/ it also runs on Windows Mac and Linux. Can open remote files, not as great as full fledged FTP app, but enough to get by for edits.
 
Alexander

Posted: 4/17/2018
Quote message 

Quote speedyp:

Just installed my first XAMPP wordpress install directly on my PC & I love it!

Easy install and everything really flies compared to online.

Loads of guides available, but lookout for enabling apache mod rewrite if you're importing an existing site and want to change your permalinks 8-)

Also the standard myphp login user is "root" with no password - they didn't mention that in the guide I was following and couldn't create a database O:)


You should also go through this guide https://www.wpblog.com/launch-wordpress-localhost-using-xampp/