====== WAMP ====== ===== Liens ===== ^ Name ^ Url ^ | apache | [[http://httpd.apache.org|httpd.apache.org]] | | php | [[http://www.php.net/downloads.php|php.net]] | | mysql | [[http://dev.mysql.com/downloads/index.html|mysql.com]] | | phpmyadmin | [[http://www.phpmyadmin.net|phpmyadmin.net]] | | ActivePerl | [[http://aspn.activestate.com/ASPN/Downloads/ActivePerl/|activestate.com]] | | Subversion | [[http://subversion.tigris.org|subversion.tigris.org]] | | AWstats | [[http://awstats.sourceforge.net|awstats.sourceforge.net]] | | Openssl/mod_ssl | [[http://hunter.campbus.com|hunter.campbus.com]] | ===== Apache===== ==== httpd.conf ==== PHP and Apache 2.0 as Module # For PHP 4 do something like this: LoadModule php4_module "c:/php/php4apache2.dll" # Don't forget to copy the php4apache2.dll file from the sapi directory! AddType application/x-httpd-php .php # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php custom php settings PHPIniDir "D:\wwwserver\php" php_flag register_globals On php_flag allow_call_time_pass_reference On php_flag register_long_arrays On ==== SSL === http://www.thompsonbd.com/tutorials/apachessl.php === 1. Setting Up OpenSSL === Copy openssl.cnf into the same folder where you unzipped OpenSSL. Copy the files ssleay32.dll and libeay32.dll from the OpenSSL folder to WINNT\System32 Copy ssl.conf in the Apache2/conf directory === 2. Creating a test certificate === openssl req -config openssl.cnf -new -out my-server.csr openssl rsa -in privkey.pem -out my-server.key openssl x509 -in my-server.csr -out my-server.cert -req -signkey my-server.key -days 365 Create a directory in the Apache folder name Apache2/conf/ssl and move my-server.key and my-server.cert into it. === 3. Configuring Apache and mod_ssl === Open the httpd.conf file and locate the LoadModule directives. Add LoadModule ssl_module modules/mod_ssl.so After add SSLMutex default SSLRandomSeed startup builtin SSLSessionCache none In the VirtualHost directives add SSLEngine On SSLCertificateFile conf/ssl/my-server.cert SSLCertificateKeyFile conf/ssl/my-server.key Open the ssl.conf file and set the correct www.my-domain.com and DocumentRoot.