You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/04/27 19:14:13 UTC

DO NOT REPLY [Bug 42280] New: - Problem building php 4.4.6 and apache 1.3.37 on RHEL 4

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42280

           Summary: Problem building php 4.4.6 and apache 1.3.37 on RHEL 4
           Product: Apache httpd-1.3
           Version: 1.3.34
          Platform: PC
               URL: http://www.thebook.com/
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jmurtari@thebook.com
                CC: jmurtari@thebook.com


Folks,

    Trying to build php 4.4.6 and apache 1.3.37 on RHEL 4.
Each of them builds and installs okay, but when we start
apache we get:

Syntax error on line 238 of /usr/local/etc/httpd/conf/httpd.conf:
API module structure `php4_module' in file 
/usr/local/etc/httpd/libexec/libphp4.so is garbled - 
perhaps this is not an Apache module DSO?

I've checked this out, got some hint that we need to use
the apxs that came with RedHat, not the one built in the
Apache distribution?  RedHat does have an http-devel package
which includes apxs but that is for Apache 2.x

Last time we did this on RHEL 4 is was Apache 1.3.34
and php 4.4.1 and it went fine, we are using the same
procedures.  Not sure if some RHEL 4 libraries changed?

Below are some excerpts on what we are using for configure.
Thanks!


For apache:

./configure --with-layout=Apache --prefix=/usr/local/etc/httpd  
  --enable-suexec  
... some deleted...
  --disable-module=asis --enable-shared=max  
  --enable-rule=SHARED_CORE --enable-module=so

For php:

CPPFLAGS="-DLINUX=22 -DEAPI" \
./configure  \
--with-config-file-path=/usr/local/etc/httpd/conf \
--with-apxs=/usr/local/etc/httpd/bin/apxs

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 42280] - Problem building php 4.4.6 and apache 1.3.37 on RHEL 4

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42280


wrowe@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From wrowe@apache.org  2007-04-27 10:43 -------
issues.apache.org is strictly for reporting bugs in the ASF distribution,
but it sounds like you need a redhat peer user support forum.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org