Installing Apache2 + SSL + PHP5

Is there a preferred way to install Apache2 with SSL and PHP in FreeBSD? I see that there is a way install Apache 1.3 with SSL by doing "pkg_add -r apache+ssl". Is there a binary like that for Apache2 with SSL and PHP?

Thanks!
 
I'm having one issue though. I have the following in my rc.conf but apache isn't starting automatically when the systems boots:

apache2_enable="YES"
apache2_flags="-DSSL"

I have to do "apachectl start" every time. I'm running:
Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.8e DAV/2 PHP/5.2.8 with Suhosin-Patch

Thanks!
 
DutchDaemon said:
You need apache22, not apache2.

Thanks! I realized that after posting. I made the change but I have KDE compiling now so I'll reboot when it's done and report back.

J.
 
ph0enix said:
Thanks! I realized that after posting. I made the change but I have KDE compiling now so I'll reboot when it's done and report back.

Just /usr/local/etc/rc.d/apache22 start
 
That works:
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.

Thanks!
 
Back
Top