Apache compile error

shally87

Verified User
Joined
Mar 30, 2010
Messages
8
Hi, after compiling apache today i get this error;

Starting httpd: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf:
API module structure 'suphp_module' in file /usr/lib/apache/mod_suphp.so is garbled - expected signature 41503230 but saw 41503232 - perhaps this is not an Apache module DSO, or was compiled for a different Apache version?

I just want need apache to work with worker mpm instead of prefork. so i added
--with-mpm=worker

following http://ip-66-51-122-131.tera-byte.com/forum/showthread.php?p=111320

then,
./build clean
./build update_data_ap2
./build apache_2

How do i fix this?
 
Last edited:
try
./build suphp

There is no ./build suphp.. it only came out this..
[root@luna custombuild]# ./build suphp
*************************************
* *
* DirectAdmin WebServices Installer *
* *
*************************************

To build everything run:
./build all

Other options:
./build php
./build apache_mod_ssl
./build gd
./build libjpeg
./build libpng
./build zlib
./build curl
./build mcrypt
./build mhash
./build zzip
./build mod_perl
./build mod_frontpage #dso depreciated
./build frontpage_ext
./build webalizer
./build zend (not included with 'all')

Apache 2 options (beta):
./build update_data_ap2
./build convert
./build apache_2
./build php_ap2
./build mod_frontpage_ap2
./build mod_perl_ap2

Dovecot options (beta):
./build update_dovecot
./build dovecot
./build todovecot

Remove old build data:
./build clean


Get lastest build script and data
./build update

Get data for current build script
./build update_data

You can pass a 2nd argument to automate the input
./build <option1> d : do the default action
./build <option1> y : answer yes to all questions
./build <optino1> n : answer no to all questions
 
What version of custombuild are you using?

Try:

./build update
 
It's CustomApache :) It's needed to reinstall suPHP manually if there is no CustomBuild installed on the system.
 
Back
Top