Upgrade to Apache 2.2 from 2.0.54

I may be doing something obviously wrong here, so somebody please set me straight.  In my quest to make XML and XSLTs work together, I updated a few packages on my Fedora Core 4 Linux installation.  To make a long story short, I followed these instructions:  http://www.sitepoint.com/article/transform-php-xslt/2  
Installed the following in this order:
- expat-2.0.0
- Sablot-1.0.2
- php-5.1.2

Now, when I restarted apache, I got this error:  
[root@TankJr ~]# service httpd start
Starting httpd: Syntax error on line 191 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/httpd/modules/libphp5.so into server: /usr/lib/httpd/modules/libphp5.so: undefined symbol: _pcre_default_tables
                                                           [FAILED]

When I comment out line 191, apache starts fine, but without PHP.  

So, I decided to install the latest version of Apache, thinking that this would pick up all my latest changes and make everything good again.  Well, obviously that didn't happen because I am here.  

I followed the instructions on the Apache site:  http://httpd.apache.org/docs/2.2/install.html and tried to restart and it would not pick up the latest version. Here is the status

[root@TankJr src]# /usr/sbin/apachectl start
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[root@TankJr src]# httpd -v
Server version: Apache/2.0.54
Server built:   Jan 17 2006 06:36:00

Bottom line now is that I can run apache, but not the newer version that I just installed.  I'm probably approaching this with a "Windows Mentality", but I'm stuck here and need some help.  Can anyone please jump in and give me some pointers?  
LVL 4
gcmachelAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gcmachelAuthor Commented:
Update on this issue:  The PHP now works fine, but I still cannot start the Apache version 2.2, it defaults to my older instalation of Apache.  
xDamoxCommented:
Hi,

Do the following:

locate libphp5.so

Once you have done that open your httpd.conf file and place the correct path to the libphp5.so file.
gcmachelAuthor Commented:
Thanks for your response.  The PHP is OK now (per my previous post), but I still cannot get the Apache 2.2 to engage.  How do I get my system to see the Apache 2.2 that I installed?  That's the million dollar question at the moment.  
MyrandorCommented:
If you followed the Apache instruction to install v2.2, then it got installed in the directory /usr/local/apache2. You'll need to edit the conf file under /usr/local/apache2/conf, and start apache using /usr/local/apache2/bin/apachectl start.

I suggest to stop using "service httpd" since it will start your old Apache. After Apache 2.2 is working fine, you should remove older version to make sure that nothing conflict using "rpm -e httpd".

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gcmachelAuthor Commented:
Thank you, that gets me on the right track here!  I tried just what you said and it works!  :)  
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.