(BTW ik hoef geen gezeik zoals dat er al een tutorial is.... als je nix bijzonders hebt te melden laat et dan!)Hello this is a tutorial in english how to install Apache server with MySQL and PHP.
<APACHE>
First you have to download it (offcourse) I'll give you a link for windows version:
http://apache.essentkabel.com/httpd/bin ... no_src.exe
Accept the agreement(else you can't install it).
I always install it under C:\server\Apache\.
The program asks:
- Network domain: your internet IP (when you have a Router you have to ask someone who knows how to configure a router).
{If you use a local IP it will change all the time and the server will be very instable so you need to have a static IP.}
- Server Name: The same as Network Domain.
-Administrator's Email-Adress: Your own email adress.
Install it for all users(when it asks for it only win xp).
Now finish this and open httpd.conf with Notepad or Wordpad.
start->all programs->apache http server->configure apache server->Edit the Apache httpd.conf Configuration File.
Search (CTRL + F):
DocumentRoot "c:/server/apache/htdocs"
change it in
DocumentRoot "c:/server/files"
(You have to make a folder named files in the folder server offcourse)
Then search for:
<Directory "C:/server/apache/htdocs">
change it in
<Directory "C:/server/files">
Then search:
index.html
Place:
DirectoryIndex index.htm
under it.
The Server is ready now for HTML sites.
(PHP in apache)
I first configure the httpd.conf because you are probably still in that file.
Search for:
DirectoryIndex index.html
Under it place:
DirectoryIndex index.php
Now go to the last sentence and place:
LoadModule php4_module c:/server/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Now save/close the file.
<PHP>
First you have to download it from the site http://www.php.net or go to:
http://nl3.php.net/get/php-4.3.4-Win32. ... net/mirror
to download the version which will work.
Unzip it in the server folder:
c:\server\php\
(make a folder called php and copy all the files in there)
Now you have to copy paste some things.
First rename php.ini-recommended into php.ini.
Open it and search for smtp and change localhost in your providers smtp server example (@home smtp server):
mail.home.nl
Close/save it.
Copy paste it to the windows folder (Normally C:\windows\).
Now go to c:\server\php\dlls\ copy all dll files (all files in the folder) and paste them in the system32 folder(Normally C:\windows\system32\).
Now copy paste php4ts.dll and php4apache.dll to the system folder(Normally C:\windows\system\) now php has to work restart your server and make a file called index.php with the following text:
<?php
echo:"Hello World";
?>
Now go to your server(your IP adress you filled in at the install form) when you did everything good it should only show Hello World.
<MySQL>
This is the easiest part go to http://www.mysql.org and download MySQL or go to:
http://www.mysql.com/get/Downloads/MySQ ... ftp/mysql/
Install it under the folder c:\server\mysql\ now reboot your PC.
When you are back in Windows go to c:\server\mysql\bin\ and open the file winmysqladmin.exe the program will ask you to insert a username and password fill in your stuff and you are ready with all!
Have much fun!!!!
Greetz SZ
Apache + PHP + MySQL (English tutorial)
Forumregels
Dit forum is voor alle zinnige gesprekken buiten phpBB om. Discussies en gesprekken over interessante onderwerpen.
Een nieuw onderwerp moet..:
Dit forum is voor alle zinnige gesprekken buiten phpBB om. Discussies en gesprekken over interessante onderwerpen.
Een nieuw onderwerp moet..:
- uiteraard voldoen aan de algemene voorwaarden
- niet passen in de gewone supportfora
- interessante zijn voor het overgrote deel van onze gebruikers
- een neutrale of positieve ondertoon hebben
- anders zijn dan bestaande onderwerpen
Apache + PHP + MySQL (English tutorial)
Als je mensen in je lijst hebt staan die alleen engelstalig spreken en die tog ook Apache willen heb ik een tutorial in engels gemaakt(ik heb er namelijk zelf wel een aantal. (Voor windows XP)
- WebSiteNet
- Berichten: 6524
- Lid geworden op: 20 okt 2003, 16:56
- Locatie: Wieringerwerf
- Contacteer:
Re: Apache + PHP + MySQL (English tutorial)
Rustig maar hoor. alleen een vraagje aan je.DeMolT schreef:(BTW ik hoef geen gezeik zoals dat er al een tutorial
is.... als je nix bijzonders hebt te melden laat et dan!)
Zou je het willen vertalen en in de kb posten

Het is een goed artikel.
Ja, apache 1 is beter icm phpBB 2.0.x. Als phpBB 2.2 uitkomt werkt Apache 2 wel beter samen met phpBB en zou je die dus ook kunnen gebruiken.DeMolT schreef:thnx ik zal em wel een x vertalen
hoewel er al veel versies zijn voor apache 2 en dit er 1 voor apache 1 is(beter volgens mij)
MessageBoard.nl, gratis phpBB forum hosting
- WebSiteNet
- Berichten: 6524
- Lid geworden op: 20 okt 2003, 16:56
- Locatie: Wieringerwerf
- Contacteer:
eerst had ik PHP TRAID geinstalleerd en alles werkte. maar dan na een tijdje,werkte het niet meer,ik heb heel php traid met apache eraf gesmeten en alles trg geinstalleerd en alles lukt enkel kan ik geen verbinding maken met http://localhost. Hoe komt dit?
Sorry om een oud topic weer naar boven te halen, maar ik heb precies hetzelfde probleem! Kan iemand alsnog een antwoord op geven?webstab schreef:eerst had ik PHP TRAID geinstalleerd en alles werkte. maar dan na een tijdje,werkte het niet meer,ik heb heel php traid met apache eraf gesmeten en alles trg geinstalleerd en alles lukt enkel kan ik geen verbinding maken met http://localhost. Hoe komt dit?
- WebSiteNet
- Berichten: 6524
- Lid geworden op: 20 okt 2003, 16:56
- Locatie: Wieringerwerf
- Contacteer:
-
- Berichten: 521
- Lid geworden op: 29 jan 2004, 22:41
- Contacteer:
- Bas
- Berichten: 2741
- Lid geworden op: 02 dec 2003, 17:38
- Locatie: Omgeving Goslar (Duitsland)
- Contacteer:
"Mandrake Linux", dat is alleen bij RPM-ondersteunende distributies...
Maar met Debian kan zoiets ook...
(en ik ben zelf geen linux gebruiker
[offtopic=half]
Maar ReactOS lijkt me wel cool, Apache/Win32 zal er ook op kunnen draaien, NTFS moet nog ontwikkeld worden... En de TCP/IP stack ook
[/offtopic]
)
Maar met Debian kan zoiets ook...
(en ik ben zelf geen linux gebruiker

[offtopic=half]
Maar ReactOS lijkt me wel cool, Apache/Win32 zal er ook op kunnen draaien, NTFS moet nog ontwikkeld worden... En de TCP/IP stack ook

[/offtopic]
)
.Bas Hosting, gratis hosting met FTP, PHP en MySQL | viennaCMS, simpel flexibel open source CMS
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
-
- Berichten: 521
- Lid geworden op: 29 jan 2004, 22:41
- Contacteer: