I use Uniform Server for testing and developing small scale websites.
The description from their website, "The Uniform Server is a free lightweight WAMP server solution for Windows. Less than 24MB, modular design, includes the latest versions of Apache2, Perl5, PHP (switch between PHP53, PHP54, PHP55 or PHP56), MySQL5 or MariaDB5, phpMyAdmin or Adminer4. No installation required! No registry dust! Just unpack and fire up!"
Works really good. Drop it on a thumb drive and take it with you everywhere and develop on the go.
For our MSP, we use Dokuwiki. I'm running it on a WAMP in a VM, using Uniform Server Z as the WAMP. Then it's portable, easy to backup, and easy to move if needed. Configuring a small LAMP VM would be easy too, but I have this running on the same VM as our OpenFire IM server because neither required too many resources.
If you want a super small wiki and very simple wiki, Pawfaliki Wiki might be a good choice. It's a single page PHP wiki that I used in the past for a simple MUD wiki.
Bit late to the thread, but I use Uniform Server. I've found it to be much better than xampp. Updated very quickly, an awesome plugin system, different development modes, takes security seriously. Worth a look: http://www.uniformserver.com/
It's a standard WAMP stack at its heart, but with a very nice frontend.
I've loved it from the moment I started using it. Just download and run -- ultimate portability and simplicity.
I used to use WAMP, 'till it started giving me shit, being unresponsive over localhost... Very happy with Uniform Server ever since.
I also recently switched my backend to a SQLite driver, so now I don't even need to run MySQL! Lovely, lovely, lovely.
If you use AJAX to read local file, then file://
protocol works fine in Mozilla Firefox only.
Google Chrome needs a command-line flag.
There are several ways to start localhost
server:
In case you have downloaded php.exe
, just run
"%path_php%\php.exe" -S localhost:8080 -t "E:\folder1"
In case you have downloaded the single file node.exe
, just run
node.exe 1.js
where 1.js
content is:
var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, { 'Content-Type' : 'text/plain' }); res.end('Hello World\n'); }).listen(1337, '127.0.0.1'); console.log('Server running at http://127.0.0.1:1337/');
If you're not into installing much, you can also try a portable webserver like the uniform server.
No install, no fuss. Just start, test your stuff at http://localhost, stop the server again and you have no messy services and whatnot left running.
UniServer is a fantastic windows application that hosts an incredibly easy to use server on your own machine at localhost. It even fits on a thumb drive and theres very minimal setup required.
However, I don't know if there's a Mac version. I don't believe there is. Sorry.
In windows: You can redirect domains by modifying the text file "C:\Windows\System32\drivers\etc\hosts".
You could then setup a LAMP server (uniform server) on localhost to return the correct data.
Alot of ways of skinning this cat. Here's the way i started out. I grabbed a copy of uniserver, http://www.uniformserver.com/, its a A.M.P in a box (apache, mysql, php) that you can run in a windows machine. Then goto wordpress.org and grab the latest version of wordpress. Read the instructions for both products. Install wordpress into uniserver. Now you've got wordpress running on your desktop. From there...play with it for a few days, then you will be ready bask in the glory. As for templates...for professional looking sites i'd look at WooThemes, Studiopress, and themeforest. $30 will save you ALOT of time. If you want to be geekier, and really learn wordpress ( and as much php as you can stomach) learn about something like Thematic or Hybrid, and roll your own.
Uniform Server: PHP 5.3, MySQL, PHPAdmin, Apache and many extras HHTrack: download entire websites easily
They've both served me well over the years to achieve what you are asking for.
IIRC it has Apache, PHP, MySQL with PHPMyAdmin and maybe some other stuff.
You can run it off a memory stick, it has zero reliance on installed components so it is 100% portable.
We used this in Uni for web related subjects.