How can i install APACHE 2.045, PHP, PERL and MySQL manually?

download from www.apache.org the windows binary. Install apache where ever you want.
Now download from www.php.net the 4.31 / or higher. NOT the installer please, download the zip package.
Unzip the zip (you can use simplyzip Multiarchiver--> www.paehl.de) in the new folder: eg. apache/php

Integrated PHP in APACHE


httpd.conf --> apache folder/conf

# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "c:/apache/cgi-bin
ScriptAlias /php/ "c:/apache/php/"
#add this entry with the PHP-FOLDER
# not required if you use PHP as module
#c:/apache/php --> your folder where you have installed php

----------------------------------------
# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
AddType application/x-tar .tgz
AddType image/x-icon .ico
AddType application/x-httpd-php .php # add this
-------------------------------------------
# Action lets you define media types that will execute a script whenever
# a matching file is called. This eliminates the need for repeated URL
# pathnames for oft-used CGI file processors.
# Format: Action media/type /cgi-script/location
# Format: Action handler-name /cgi-script/location
# Integrated as CGI
Action application/x-httpd-php "/php/php.exe"
#add this entry with the Complete PHP-FOLDER
##############
# Or integrated php as module
# use this
# LoadModule php4_module "c:/apache/php/sapi/php4apache2.dll"
# Copy the file php4ts.dll in your system folder (Windows 9x)
# NT/2000 in your system32 folder.
#

----------------------------------------------------
PHP.INI
doc_root for Apache: It's the DocumentRoot, Current entry:
doc_root = "c:\apache\htdocs"
# The complete folder for apache/htdocs

extension_dir: Mainfolder from PHP. Current entry:
extension_dir = "c:\php"
#The PHP folder.

------------------------
That's all. Test it now: Open notepad and write this:
<?php

phpinfo();

?>
   
   Save this file in apache/htdocs as phpinfo.php
   Run Apache and open your browser: http://localhost/phpinfo.php
   You you must see the PHPINFOS. Otherwise check the path in the config.
 APACHE and SSL: Open the httpd.conf and change the following:
 
 # The Options directive is both complicated and important. Please see
 # http://httpd.apache.org/docs-2.0/mod/core.html#options
 # for more information.
 #
 Options Indexes Includes FollowSymLinks 

# AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
#
AddType application/x-tar .tgz
AddType text/html .shtml

# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
AddOutputFilter INCLUDES .shtml


APACHE and PHP with MySQL  
If you want use MySQL go: www.mysql.com and download the install version and install it. That's was it.

APACHE with PERL:
Change in httpd.conf this:

# CGI-Script
ScriptInterpreterSource registry
AddHandler cgi-script .cgi .pl

ScriptAlias /cgi-bin/ "C:/apache/cgi-bin/"

#
# "C:/apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
< Directory "C:/apache//cgi-bin">
AllowOverride all
Options None
Order allow,deny
Allow from all

</Directory>