LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 11-17-2006, 09:17 PM   #1
wisdom
Member
 
Registered: Feb 2004
Distribution: Fedora 9
Posts: 226

Rep: Reputation: 31
Proplems starting apache with php


I get the following error when i try to start Apache 2.56

# apachectl start
Syntax error on line 234 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied


anyone has any idea what this means? I just installed php 5 from source with the follow prefixes and it seem to have installed fine

Code:
./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs

Am funning fedora core 4
 
Old 11-17-2006, 09:48 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
That sounds like an SELinux error. Check for AVC denied errors in /var/log/messages or /var/log/audit/audit.log. You probably need to reset the file contexts on the installed software. Try (as root):

restorecon -v -R /usr/local/apache2/modules/
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Initial PHP configuration after starting MySQL and Apache studioq Linux - Newbie 2 09-27-2006 11:23 PM
Gnome proplems at start up klunk Linux - Newbie 3 02-13-2005 12:58 PM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
proplems starting ut2004 in fedora pepsi Linux - Games 1 06-03-2004 11:43 AM
proplems with apache robgo777 Linux - General 10 12-21-2002 05:31 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration