Reply to Re: Problem building php 4.4.6 and apache 1.3.37 on RHEL 4

Your name:

Reply:


Posted by C. on 04/27/07 22:43

On 25 Apr, 22:10, John Murtari <jmurt...@thebook.com> wrote:
> 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
>

No - you either build or your Apache from source or use rpms never mix
and match. If you build apache from source then you build PHP from
source. Its probably OK to build PHP from source with a packaged
apache.

This error is commonly caused by using the wrong version of apxs or if
your modules are much newer than your apache.

Read these:

http://uk3.php.net/results.php?q=garbled+module&l=en&p=all

If your still having difficulties, what does ldd report for the
module?

C.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация