WinLAMP config help
Aside from the startup menu options, there is no
control panel for WinLAMP. If you want a control panel, consider phpTriad
which has a nice control panel instead of this boring page. 
For
the rest of us who don't mind editing conf files, use the Start Menu
shortcuts:
Start | Programs | WinLAMP | Edit conf file.
Following are some commonly used options. Simply open up the file (it
will open in Notepad), search for the keyword, and modify it. Then save your
file and restart Apache for the settings to take effect.
Apache httpd.conf
- ServerName (Defaults to 'localhost' but if you're using a
production server, you should change this to the actual machine name. Find
it by right-clicking "My Computer", selecting 'Properties' and viewing
'Computer Name').
- DocumentRoot (Defaults to C:\Apache2\htdocs)
- Listen (Defaults to port 80. This is the port Apache will listen
on.)
MySQL my.ini
- user (This is the admin username. It defaults to 'root')
- password (Defaults to blank)
- datadir (This is where MySQL stores all its data.)
PHP php.ini
- register_globals (Back in the old days, this defaulted to "On."
Nowadays, for security, this defaults to "Off". Some developers need it to
be "On" for legacy code. If it is Off, you need to refer to form variables
using the syntax $_REQUEST['variablename'] instead of
simply $variablename.)
- magic_quotes_gpc (Funky setting that some people like to tweak.)
- session.save_path (Your php temp directory defaults to
Apache2/modules/php/tmp).
phpMyAdmin config.inc.php
- user (This is the admin username. It defaults to 'root')
- password (Defaults to blank)
- auth_type (Authentication method -- config, http or cookie based.
Defaults to config.)
Make sure you synchronize any user/pass changes
in my.ini with phpmyadmin.
Services
Apache and MySQL are installed as services, and designed
to startup automatically when you log in. If you want to change them to start
only when you tell them to, use the command lines. You only have to run these
commands once:
- sc config Apache2 start= demand (This will make it start only on
demand. Note the space after the equal sign.)
- sc config Apache2 start= auto (This will make it start during
boot, which is the default).
- sc config mysql start= demand (Same as above).
- sc config mysql start= auto (Same as above).
- c:\apache2\bin\apache -k install -n "Apache2" (Used to install
Apache as a service).
- net stop Apache2 (This will stop the service; do this before
uninstall. Same effect as '-k stop' described below).
- c:\apache2\bin\apache -k uninstall -n "Apache2" (Used to
uninstall Apache).
- Apache -n "Apache2" -k start (Start Apache as a service-- must be
installed beforehand, as described above).
- Apache -k stop (Gracefully stop Apache).
- Apache -k restart (Graceful restart of Apache).