Welcome to the OzoneAsylum FaqWiki
Frequently Asked Questions
Server Side Coding
PHP

How do I install AMP (Apache/PHP/Mysql) on my Windows computer for offline testing? Pages that link to <a href="https://ozoneasylum.com/backlink?for=4633" title="Pages that link to How do I install AMP (Apache/PHP/Mysql) on my Windows computer for offline testing?" rel="nofollow" >How do I install AMP (Apache/PHP/Mysql) on my Windows computer for offline testing?\

There are a number of tools and packages whih allow people to install PHP/MySQL on their (Windows) computers or servers and most of these come with full instructions on the installation process.
Examples:

EasyPhp includes an Apache server, a MySQL database, a fully PHP execution, as well as easy development tools for your web site or your applications.

Xampp (=WAMMP] Windows+Apache+MySQL+PHP+Perl

foxserv

NuSphere

www.easyphp.org/telechargements.php3

php4win

www.firepages.com.au/dev4.htm

www.omnicron.ca

PHPtriad

For a full list see:
HotScripts

_________________________
Personal Accounts:

I use Foxserv (see URL above), and though it could use some tweaking (for example, either they could include the missing.html, or just disable the custom error message for 404s...), it run's relativly smoothly and is easy to setup. --Tyberius Prime

-------

And I use phpdev4. This is how to get that up and running:

- Go here: http://www.firepages.com.au/phpdev4.htm and choose the appropriate bundle, you get in one download and installation:
Apache, PHP, Perl, and MySQL database for a Wwindows machine.

- Unzip it to C: (as suggested) .

- Go to C:/phpdev/apache/conf and open httpd.conf on line 352 change it to look like this: DirectoryIndex index.html index.htm index.php index.php3 index.fire (by adding index.php index.php3 ) this will allow you to use these files as "directory/". Save...

- Then go to C:/phpdev and execute 'phpdev_start.bat'. That starts the whole shebang... phpdev_stop.bat stops it.

- Your webpages go into folders in C:/phpdev/www and you surf to http://localhost/your_foldername/ to access your pages.

- To set this up (plus installing one db and adding all pages) on a client's PC for a demonstration took me at most 20 minutes...

- On Win98/ME/NT/2000 it works without a hitch, in XP you need to use the NT bundle be aware of this, it assumes that the sytem directory is WINNT so it creates this and places the .ini file there. (You probably should move it to the appropriate directory.)

/DmS - cell 260 -

[Edited a bit for typos and style by Tyberius Prime & kuckus]
-----------------------------

XAMPP/WAMPP/LAMPP - Review by silence
I have found that the AMPP range released by Apachefriends has been a great package. The windows version in particular was relatively easy to install, however, you need to tweak a bit to get everything to function correctly (e.g. the mailserver, getting apache/sql to run as a service automatically).

All in all, though, it took very little time to get it up and running and performed well. The admin page included with the package works very well, however, read the documentation carefully since they walk you through relevant security measures you need to consider if you're going to put the server on the open net.

It has worked well on on my company's intranet, however, I haven't used it for actual hosting due to the fact that there's no real need since we already have several apache servers with the relevant software installed.

-----------------------------
Relevant links:

problems w/ apache 2.0 and windows 98

* phpdev woes * - their forum sucks, so I'm asking you guys for a little help

window.onerror = SymError; - why does this appear in my Apache hosted pages? - more phpdev problems

-----------------------------
Relevant FAQs:

Is it possible to run a server for ASP/Access and one for PHP/MySQL on my home computer?

Can I use a .htaccess file with a Windows server?

How do I host a website on my own computer? - the next step

Is there a prepackaged Apache/Python Distribution for Windows?
_____________________________
Recent Editors:

(Edited by: Tyberius Prime on Tue 09-Mar-2004)

(Edited by: Tyberius Prime on Fri 19-Mar-2004)



(Edited by: silence on Sat 20-Mar-2004)

(Edited by: Tyberius Prime on Sun 21-Mar-2004)
(Edited by DmS on 12-02-2004 09:22)
(Edited by poi on 12-02-2004 11:28)

« BackwardsOnwards »

Show Forum Drop Down Menu