Upgrade Apache to new version? Solaris 10, goal:PHP

Hello,

I have been searching on unix.com and google in general. I can't find what I am looking for. Maybe too dumb of a question.

I've downloaded and installed the sunfreeware package for PHP 5.3.6 and made sure all dependencies are satisfied.

Apache 2.2.8 is currently installed and working on the server. I see on sunfreeware.com at the PHP 5.3.6 section it states: "This PHP can only be used with apache-2.2.19, not apache 2.0.x."

Do I need to upgrade Apache to 2.2.19 to get this working? This is what I have been searching for: "How to upgrade Apache server", "update Apache on Solaris". I can't seem to find any tips on how to upgrade Apache.

Is this really what you do? Or do you just install the latest Apache over the old? (and save your config files)

Thank you for any pointers.

The easiest way is to pkgrm and pkgadd unless you have an access to Oracle's updates or some other online freeware repositories.

# /usr/sbin/pkgadd -d apache-2.2.19-sol10-sparc-local

Will this overwrite every customized file, though (httpd.conf, etc.)?

I just want to know what someone would say the best practices are.

I've got O'Reilly title for Apache, but it doesn't say anything specific.

Thanks for your help.