Tag Info

Hot answers tagged

14

Biggest difference - WAMP runs on Windows, XAMPP is multi-platform. Aside from that it's a matter of personal preference. They both provide you with an Apache-MySQL-PHP environment that runs pretty much the same under both systems.


14

XAMPP is NOT cross-platform. There is XAMPP for Windows, XAMPP for Linux, for Mac and for Solaris, but each pack contains different pieces of software, runs differently with different performance, etc. (cross-platform means that you take the exact same piece of software and it runs the same way on different platforms ... like Azureus used to be: a jar that ...


7

Survey said! Wolf Fence in Alaska. The basic idea is that you divide your problem space in half by inserting a print "Hi, Mom!\n"; exit; (insert your favorite phrase) somewhere near the "middle" of your code. If you get the message, then the bug is beyond where you put the print, so move it farther along in the execution. If you don't get there, move the ...


6

WAMP is an acronym that means: Windows, Apache, Mysql, Php. There are different WAMP "distribution" such as XAMPP, WampServer (what some people just call "WAMP"), Wamp-Developer Pro (commercial software), and others... XAMPP for Windows is just another WAMP distribution, nothing more (nor something else).


4

I use Dropbox as well, but not directly linked as the Dropbox folder path could differ from install to install. My Dropbox just is the root of my bare git repository. Simplified... When I start coding, I just add a new folder to my Dropbox and --bare init it. // Inside your Dropbox/webdev/themes folder for e.g. git --bare init Then inside your new Theme ...


3

wamp uses more memory to run then xampp.


3

The objection that XAMPP is bloated--because it has a mail server, FTP server, etc.--might be answered by asking what you need. If you need most or all of those items, it's the full XAMPP for you. For just developing web pages, including PHP and MySQL, use XAMPP Lite. At different times I've found both to be very useful. I especially like that I can run ...


3

Hi @Scott B: Have you tried updating the permissions for your WordPress files to 755 or 777? UPDATE 1 Thanks to @anu in the comments (~/Sites assumes you put websites are in the Mac's default website directory): cd ~/Sites sudo chmod -R 777 * I just checked my httpd.conf file and here is what I found starting on line 127 so I think @gabrielk's answer ...


3

I've used XAMPP and have been generally pleased with it, with one notable exception. Loading a site has always been agonizingly slow for me when using XAMPP. I don't know if that's the case with WAMP, but it would be worth looking into.


3

Not exactly answering the question, but if you are interested in learning how the packages work together, I suggest installing and configuring them manually. I've been using this tutorial as a guideline, it is detailed and helps you get everything running and talking to each other. It's a bit more work, but provides you much more flexibility, and you ...


2

You can try looking in \xampplite\apache\logs for various error log messages.


2

Your webserver runs under a user account, on OS X 10.6 that user is _www and the group is also _www WordPress needs the owner and/or group of the web server to match the owner and/or group of the files -- which is your user account. First, open your Terminal. Find your username and group by typing: id You should see output like: uid=503(gabrielk) ...


2

From personal experience sync between two different computers work best in one direction. For example your desktop is primary and notebook is precise mirror (yep, of whole directory tree preferably with tool that doesn't touch unchanged files). Two way sync gets messy very fast for web stack. If you need to actively work with same stack on different ...


2

See Moving WordPress « WordPress Codex and Backing Up Your Database « WordPress Codex and How to Move WordPress Blog to New Domain or Location » My Digital Life and possibly Giving WordPress Its Own Directory « WordPress Codex Deleted this added link as it advocates using a texteditor to change URLs in the dump; that will break serialized data. Use the ...


2

xampp is slower than wamp(french developer). I have both.


1

Another solution is to simply chown the entire wordpress install to the user that apache is running as: chown -R _www: myWPSite Then you can do your automatic updates, and if necessary, chown it back to the previous owner.


1

there are quite a few threads on here about this topic ... just look at these examples: Database synchronization between dev/staging and production I would also recommend you read Mark Jaquith's post on Local and Dev Tip's.


1

I have been using a plug-in (Backup Buddy) to achieve my transfers. It is not free but it does a great job of moving the from a dev (local) server to a live site. http://pluginbuddy.com/purchase/backupbuddy/ Back up your entire WordPress installation. Widgets, themes, plugins, files and SQL database - the entire package! Just like your laptop or ...


1

$whitelist = array('127.0.0.1'); if(!in_array($_SERVER['REMOTE_ADDR'], $whitelist)){ // not valid } For more info on how it works. http://stackoverflow.com/questions/1634782/what-is-the-most-accurate-way-to-retrieve-a-users-correct-ip-address-in-php


1

The only thing I see as even close to syntactically questionable is that showposts could be replaced with posts_per_page.


1

You will need to create an alias to your Dropbox folder so those files can be accessed on your server. This can be done in httpd.conf: Alias /dropbox /Users/seth/Dropbox Or you could make a direct alias to the real wp-content folder: Alias /wp-content /Users/seth/Dropbox/Xammp-Content/wordpress/wp-content/ Then set WP_CONTENT_URL in wp-config.php ...


1

Is there no way to pull the content to a localhost site just to get the content onto the site so that I can work on the development of the site while the client adds the content to the live DB? If the remote server supports it, you can connect to the remote database. Just set your connection constants correctly: // ** MySQL settings - You can get ...


1

I think s_ha_dum is in the right track, but I think he got it backwards. You want to: develop/design locally connect to the REMOTE database and work with his content? You need a remote (staging) installation of WordPress, where the client can create/enter his content. You need your local WordPress site (localhost) to point to the remote database, to ...


1

Per the Codex entry for the_post_thumbnail(), passing an array has not worked since WordPress 3.0: PLEASE NOTE: The crop does not work in WP 3.0+. All that is needed for WP 3.0+ is the call for the thumbnail to post. Then proceed to media in the dashboard and set your thumbnail to crop to the size you wish to use. The correct implementation is to ...


1

An over simplified version of doing this is to download WordPress Serialized Search and Replace tool And drop it onto your server go to the location of where you have uploaded it. Then simply search for your old url, and replace with the new. This will do this for every post type, post data and if your theme has settings it will also replace in the settings. ...



Only top voted, non community-wiki answers of a minimum length are eligible