Apache, php & mysql on Windows

Fetch:
http://archive.apache.org/dist/httpd/binaries/win32/apache_1.3.29-win32-x86-no_src.exe

doubleclick the file and follow the install:
Network domain should be 'localhost'
Server name should be '127.0.0.1'
Admin email should be your email.

Otherwise just leave the defaults, after install your apache should be running.


Fetch php windows binary:
http://www.php.net/downloads.php

unpack the files in c:\php and move the file php4ts.dll into your windows system folder.

Add the following lines to httpd.conf:

 LoadModule php4_module c:/php/sapi/php4apache.dll
 AddType application/x-httpd-php .php

Restart apache (from the start menu) , now php works.

Finaly we need MySQL, download 
http://www.mysql.com/get/Downloads/MySQL-4.1/mysql-4.1.1a-alpha-
win.zip/from/pick

Gider du ikke registrere saa gaa direkte:
http://www.mysql.com/get/Downloads/MySQL-4.1/mysql-4.1.1a-alpha-win.zip/from/http://mysql.mirrors.cybercity.dk/

extract in c:\mysql and run \mysql\bin\winmysqladmin.exe

and follow instructions.

finaly phpmyadmin is cute database management tool:
download http://www.phpmyadmin.net/ and unpack i \apache\htdocs\mysql

and you should be runnig, phpmyadmin will advice you to set a root password...which i personaly agree with ;)
Dette indlæg blev udgivet i Apache, Knowledge Base, Networking, Old Base, PHP, SQL. Bogmærk permalinket.

Skriv et svar