Forum Moderators: coopster
Downloads
Download Apache from [httpd.apache.org...]
Download php from [php.net...] (5.0.5)
Download MySQL from [dev.mysql.com...] (Without installer (unzip in C:\))
Install/Extract
Install Apache2 to C:\Apache\
Extract php to C:\Apache\php\
Extract MySQL to C:\Apache\ And Rename to mysql
Editing
OPEN:
C:\Apache\Apache2\conf\httpd.conf
FIND:
#LoadModule ssl_module modules/mod_ssl.so
AND ADD BELOW:
LoadModule php5_module "C:/Apache/php/php5apache2.dll"
FIND:
DirectoryIndex index.html index.html.var
CHANGE INTO:
DirectoryIndex index.html index.html.var index.php
FIND:
AddType application/x-gzip .gz .tgz
AND ADD BELOW:
AddType application/x-httpd-php .php
ADD TO BOTTOM OF FILE:
PHPIniDir "C:/Apache/php"
SAVE
CLOSE
RENAME
C:\Apache\php\php.ini-recommended.ini TO php.ini
OPEN php.ini
FIND:
;extension=php_mbstring.dll
Remove the semi-colum, so you'll get
extension=php_mbstring.dll
FIND:
;extension=php_mysql.dll
CHANGE INTO:
extension=php_mysqli.dll
FIND:
;mbstring.internal_encoding = EUC-JP
AND ADD BELOW:
mbstring.internal_encoding = UTF-8
SAVE
CLOSE
Goto your php extension folder
C:\Apache\php\ext\
Copy the follwing files:
php_mbstring.dll
php_mysqli.dll
Paste these in your Apache bin folder
C:\Apache\Apache2\bin\
Goto your phpfolder
C:\Apache\php\
And copy the file libmysql.dll
Paste that one also in your Apache bin folder
C:\Apache\Apache2\bin\
MySQL and (optional) PhpMyAdmin:
RUN CMD
(Start->Run->cmd)
ENTER:
cd Apache\mysql\bin
ENTER:
mysqladmin -u root password rootpass
Change rootpass to whatever you want.
If you want to use phpmyadmin download it here:
[phpmyadmin.net...]
Extract it into C:\Apache\Apache2\htdocs\
Rename it to pma
Open the phpmyadmin config file.
C:\Apache\Apache2\htdocs\pma\config.inc
FIND:
$cfg['Servers'][$i]['user']
Enter root there
FIND BELOW:
$cfg['Servers'][$i]['password']
Enter rootpass there (or the password you entered while using cmd)
Now start Apache and have fun!
Sorry won't be able to support it for a while: Now going for teeth extractions :)
I did run into some problems at some point and used this
Installing PHP5 Under Windows XP and Apache [webmasterworld.com]
wanted to try all these install threads we had
I found henry's worked well but for my particular needs I found coop's more poignant and I take nothing away from henry's high quality contribution. I can't remember what the specific issue I had was.
I also used docs more as well, as much as tutorials are great, they never can give all the info. I need many specific things. I think mysql was the only thing that I just slapped in, php and apache both got a more in depth config, some from memory, some from docs and some from those threads. Actually perl was just a drop in too, there were only apache changes to make.
actually I spent part of yesterday and then this morning reworking my local config, not too bad, moved a bunch of stuff around and set up some extras as most of my installation was in default dirs and things.
had a morning filled with regedit'y goodness, always a treat. ;)