libphp4.so garbled on RHEL 4, Apache 1.3.37 and PHP 4.4.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

/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?

Has anyone been able to build that combination?  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 



-- 
                                          John
___________________________________________________________________
John Murtari                              Software Workshop Inc.
mrlist@xxxxxxxxxxx                        "TheBook.Com" (TM)
http://www.thebook.com/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux