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

Set file permissions On Mac OS X (Leopard), the Apache HTTP Server runs under the user account, _www which belongs to the group _www. To allow WordPress to configure wp-config.php during installation, update files during upgrades, and update the .htaccess file for pretty permalinks, give the server write permission on the files. One way to do this is to ...


13

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 ...


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).


6

Appart of the default ports and correctly configuring WPMS... In the Advanced Tab: And manually add the subdomains in /etc/hosts1 file: # BRASOFILO MULTISITE START 127.0.0.1 test1.brasofilo.dev 127.0.0.1 test2.brasofilo.dev 127.0.0.1 cloned.brasofilo.dev # BRASOFILO MULTISITE STOP 1 The folder etc is at the root of your HD and it's hidden. You can ...


4

You could use slugs instead of IDs. Taken from the Starkers theme (add it to your functions.php): add_filter( 'body_class', 'add_slug_to_body_class' ); function add_slug_to_body_class( $classes ) { global $post; if( is_home() ) { $key = array_search( 'blog', $classes ); if($key > -1) { ...


4

Parts of WordPress use (s)FTP to transfer files. Updates, for example, use (s)FTP. Media uploads do not, at least not unless something has changed in 3.7. If you are connecting to an (s)FTP server you have to provide the credentials that that server needs. Your file permissions won't come into play until after that connection is made. There are constants ...


3

You are trying to access the install via a file url: file://home/cnorton/scratch/install.php.html That is not going to work. That bypasses the web server and you need the webserver to process the request and pass things to PHP, which then passes the generated page back to the server for delivery to the client (your browser). You need to access the file ...


3

When you say moved WordPress, what do you mean exactly, Did you copy your entire WordPress installation from your localhost to your remote server without installing WordPress first on your destination host? Did you export your SQL database from localhost then import it to your remote server? Did you install WordPress on your remote server before copying ...


3

wamp uses more memory to run then xampp.


3

Depending on your version of OS X, you will need to configure and run FTP and open a port in the firewall. It's best if you google your OS X version - 10.6, 10.7, etc. - specifically and find the docs necessary to set up FTP and Sharing. You also need to realize the security implications of opening up FTP to your local machine; someone port scanning your IP ...


3

Multisite cannot be installed in a subdirectory of the document root currently. This will be possible in 3.5. See Multisite on Windows with wildcard subdomains for a guide how to manage subdomains automatically on Windows with XAMPP. You can move the plugin directory to another directory per wp-config.php. This is possible for themes too, but automatic ...


3

Probably your local setup since Wamp does NOT come with mail server. But you can configure the STMP settings of PHP to point to another server in your LAN which runs an SMTP server, or to the SMTP server of your ISP. this thread has an example of how to set it up: http://www.wampserver.com/phorum/read.php?2,31302,70969


3

I had the same problem. It sounds like you don't have rewrites turned on in your installation. Find your httpd.conf file, find the following line: #LoadModule rewrite_module modules/mod_rewrite.so And remove the # at the beginning so it looks like this: LoadModule rewrite_module modules/mod_rewrite.so Save and then restart the service. Custom ...


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 ...


3

If I understand right you had restored backup of live site to local installation? Basically you have two ways to handle it: Change site URL (I recommend RELOCATE way, always works nicely for me). Use hosts file of your OS to point live domain at your local IP (127.0.0.1).


3

Open up your wp-config.php file try adding the following to it: define( 'WP_SITEURL', 'http://localhost/your_wordpress_folder' ); define( 'WP_HOME', 'http://localhost/your_wordpress_folder' );


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

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 ...


2

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


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

I would recommend installing Piwik on your intranet using one of their plugins, though it will work just fine as a stand alone. http://piwik.org/ http://piwik.org/blog/2008/06/new-plugin-wordpress-piwik-integration/


2

Chances are that this isn't really a WordPress issue, but actually an problem with how you're setup for mail on your local machine / dev environment. You can install a 'dummy' SMTP server on your local dev machine that allows you some independence from your environment. I often work at client sites where access to port 25 is tightly controlled, and using ...


2

"MySQL server has gone away for..." This should never happen as result of admin operation on vanilla wordpress. One post publishing should not include enough DB writes to make the DB go away. Have you tried with all plugins inactive? Hey, is there a way I can host all the WP-admin functions locally, and simply push changes to the remote server? ...


2

I believe the wordpress URL and site URl are not set right. Please try to edit your wp-config.php adding these lines: define('WP_HOME','http://example.com'); define('WP_SITEURL','http://example.com'); Is your index on same folder as wp installation? if not, you need to place it there. I'm talking about placing the URL in the above lines, not the index on ...


1

Before import database_backup.sql. You have to replace server url with your local url in sql. for example: you took backup from abc.com , and your local url is localhost/abc .then open database_backup.sql and find and replace abc.com with localhost/abc. Save and import now.


1

WP uses the GUID column of posts for links. You need to replace that, I use a script http://interconnectit.com/products/search-and-replace-for-wordpress-databases/ Just drop it in your root dir then follow the instructions. Hope this helps!



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