Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-17-2006, 07:30 AM   #1
Registered: Jul 2003
Location: Sri Lanka
Distribution: Mandrake
Posts: 99

Rep: Reputation: 15
Upgrading Apache problem


I needed to upgrade php 5.0 to php 5.1. I use Mandriva 2006 powerpack. I used Smart to upgrade the php and it upgraded a whole lot of packages (I have a screen shot of all the upgraded packages)they included apache-base and apache-conf. Then apache refused to start. I got the following error

]# service httpd start
Starting httpd: /etc/httpd/modules.d/75_mod_perl.conf:89: <IfModule mod_access.c>
/etc/httpd/modules.d/75_mod_perl.conf:115: <IfModule mod_access.c>
/etc/httpd/modules.d/75_mod_perl.conf:145: <IfModule mod_access.c>

Obsolete apache 2.0 configuration directives were found as shown above designated by filename:line number:directive.
Please read the /usr/share/doc/apache-base-*/new_features*.txt, /usr/share/doc/apache-conf-*/README.urpmi file and
the online apache 2.2 documentation at
The following example statement does not work with apache 2.2.0:

<Directory /my/secure/files>
Options -All -Multiviews
AllowOverride None
<IfModule mod_access.c> <- REMOVE THIS LINE
Order deny,allow
Deny from all


Then I removed the 3 lines with IfModule but got the following errors.

]# service httpd start
Starting httpd: httpd: Syntax error on line 251 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/modules.d/40_mod_ssl.conf: Cannot load /etc/httpd/extramodules/ into server: /etc/httpd/extramodules/ undefined symbol: ap_run_http_method

I removed the line 251 of httpd.conf which was
Include modules.d/*.conf

Then apache started but no php. I guess the php module doesn't get loaded when I removed that line.

Is there any way to fix this apache conf problem or if I rolled back to the original Mandriva apache installation, is there anyway that I could upgrade to php 5.1?


Old 05-17-2006, 09:18 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,154
Blog Entries: 1

Rep: Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019
Well you can leave the line as is and just move the /etc/httpd/modules.d/40_mod_ssl.conf into some other location because that is that it complains. By doing this you miss the ssl function (dunno if you need it).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrading to apache 1.34 ic_torres Linux - Networking 0 03-23-2006 06:39 AM
Upgrading from Apache 1.3 to 2.0 kaplan71 Linux - Software 1 08-09-2004 04:20 PM
Upgrading Apache sveioen Slackware 3 05-20-2004 07:28 PM
Upgrading Apache ???? Virtualhate Linux - Newbie 1 05-19-2004 12:06 AM
upgrading apache vincee Linux - Networking 1 09-09-2002 03:43 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration