<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY LINK="#0000ff">
<BR>
On Fri, 2005-06-17 at 13:06 +0200, Rock BASSOLE wrote:
<BLOCKQUOTE TYPE=CITE>
    <FONT SIZE="2"><FONT COLOR="#000000">Hello group,</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">I recently installed Fedora core 4 and I have some trouble to start my apache web server.</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Whenever I start apache, I get the following error: </FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Syntax error on line 148 of /usr/local/apache2/conf/httpd.conf: </FONT></FONT><BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">I have check the syntax in the httpd.conf file but it is exactly the same syntax use when I was running under Fedora core 3.</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Does anybody have an idea?</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Any information is welcome.</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">Rock.</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000"> </FONT></FONT><BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">-- </FONT>
<FONT COLOR="#000000">fedora-list mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:fedora-list@redhat.com">fedora-list@redhat.com</A></FONT>
<FONT COLOR="#000000">To unsubscribe: <A HREF="http://www.redhat.com/mailman/listinfo/fedora-list">http://www.redhat.com/mailman/listinfo/fedora-list</A></FONT>
</PRE>
</BLOCKQUOTE>
Hello Rock.<BR>
<BR>
For what i've read, you have installed apache from sources, and then compilled php. <BR>
have you compilled apache with --enable-so ?? its is required for php5 to compile and install well.<BR>
go to your sources directory (where have you untar the sources of php and apache) and recompile apache and then php, but dont forget to make clean (and make uninstall, if there is such choice) before.<BR>
i run into the same problem with fc3 and that was the only way i figured out to solve it.<BR>
<BR>
by the way, FC4 cames with apache2 and php5. why compilling from source ?<BR>
<BR>
cheers,<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>

<HR NOSHADE SIZE="1">
<BR>
<BR>
"Computers are like air conditioners - they stop working properly when you open Windows"<BR>
<BR>
feiticeir0@feiticeir0.no-ip.org<BR>
<A HREF="http://www.feiticeir0.no-ip.org">www.feiticeir0.no-ip.org</A><BR>
<BR>
<IMG SRC="cid:1119010877.3146.0.camel@prometheus.feiticeir0.no-ip.org" ALIGN="bottom" BORDER="0"><BR>
<BR>
Say no to Software Patents<BR>
<A HREF="http://www.nosoftwarepatents.com/">www.nosoftwarepatents.com/</A>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>