Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: How to do a Standard Install ? |
|
Author |
|
max-21
Joined: 26 Aug 2011 Posts: 10 Location: Mars
|
Posted: Sat 03 Sep '11 4:04 Post subject: How to do a Standard Install ? |
|
|
Installer .... httpd-2.2.19-win32-x86-openssl-0.9.8r.msi
Zip ........... php-5.2.17-Win32-VC6-x86.zip
I lost my working install days ago because I wanted re-install XP and take it all from the top. After four days I could not get it installed again so I gave up and went for the standard files above. I think I need to understand these first. The kind of thing that can get you hired ... than I'll go back to the Manual-Install. It seems that even standard install is not easy as many web-pages and doc's say.
OK, while installing PHP, Apache will restart at all the way down to STEP (4). where I get ... Error: The requested operation has failed!
My question is starting with STEP (4), what am I'm missing or doing wrong.
STEP (1)
Apache OFF.
in Apache.conf = DocumentRoot C:/wwwroot
in Apache.conf = <Directory "C:/wwwroot">
STEP (2)
in System - Add this to end of path line ;C:\PHP
in php.conf - extension_dir = "C:\php\ext"
copy/change php.ini-dist to php.ini and place it in C:\Windows
STEP (3)
(1) From php copy “php5apache2_2.dll”.....to system32
(3) From php copy "php5ts.dll".................to system32
(4) From php copy "php_mysql.dll".......to system32
(5) From php copy "libmysql.dll"...........to system32
STEP (4)
in Apache.conf add to bottom of LoadModule
LoadModule php5_module c:/php/php5apache2_2.dll
PHPIniDir "C:/Windows"
STEP (5)
in Apache.conf add to bottom of <addtypes>:
AddType application/x-httpd-php .php |
|
Back to top |
|
max-21
Joined: 26 Aug 2011 Posts: 10 Location: Mars
|
Posted: Sat 03 Sep '11 8:09 Post subject: |
|
|
Sorry about this thread. I can't beleive I wasted all of this time over a typo. .. I had PHPIniDir "C:/PHP" and not PHPIniDir "C:/Windows". Anyway, at lease I now know what I in for. One more mistake down the line would drive me completly nuts. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|