gcmachel
asked on
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/lib php5.so into server: /usr/lib/httpd/modules/lib php5.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?
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/lib
[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?
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.
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.
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thank you, that gets me on the right track here! I tried just what you said and it works! :)
ASKER