Recompile Apache2 but add SSL without damaging Mysql/PHP installation
Posted on 2006-04-13
Fedora Core 3
Running Apache 2.0.55, MySQL 4.1, PHP 4.3.2 (all installed from source)
Ok, so the problem is that I did not install SSL when I compiled Apache2 and I want to add open_ssl (or mod ssl ??) to the current apache2 installation. I am assuming, from reading other articles, that I will need to run ./configure again for apache2 but add the SSL configure options.
Question 1: If I do recompile apache with SSL, will this step on my current MySQL /PHP installations? I don't want to have to reinstall PHP and MySQL all over again
Question 2: this current server previously had apache2 with SSL installed and I see an existing KEY stored in /home/ssl with two files: localhost.key and localhost.key.unsecure. When I configure SSL, should I somehow point to these files to use that key? I can't find a .csr file at all.
Question 3: Here is the ./configure command I used (that is lacking SSL):
./configure --prefix=/usr/local/apache2 --enable-so --enable-auth-digest --enable-rewrite --enable-setenvif --enable-mime --enable-deflate --enable-headers
So if I wanted to recompile with SSL exactly what options do I add to the configur line, and where exactly do I install from?