LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 15
Upgrading Apache problem


Hi

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 http://httpd.apache.org/docs/2.2/
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
</IfModule> <- REMOVE THIS LINE
</Directory>

[FAILED]


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/mod_ssl.so into server: /etc/httpd/extramodules/mod_ssl.so: undefined symbol: ap_run_http_method
[FAILED]


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?

Thanks

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

Rep: Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076
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).
 
  


Reply


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 05:39 AM
Upgrading from Apache 1.3 to 2.0 kaplan71 Linux - Software 1 08-09-2004 03:20 PM
Upgrading Apache sveioen Slackware 3 05-20-2004 06:28 PM
Upgrading Apache ???? Virtualhate Linux - Newbie 1 05-18-2004 11:06 PM
upgrading apache vincee Linux - Networking 1 09-09-2002 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:32 AM.

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