Apache httpd 2.4.1 Released

Why not? Well, read the previous pages, all errors and complaints seeying there, one would get the impression one has to be lucky to do upgrades without problems.:)

I'm also waiting, not doing any stuff on live production servers until it really works smoothly, next to that we got php 5.2.x running.
So I really well understand why his is asking.
 
Updated without issues on PHP 5.3.10 / mod_ruid2 0.9.5 / mod_security2 2.6.5
Dont forget to recompile mod_ruid and/or mod_security
 
Last edited:
Working with CENTOS and get this error
[root@server03 custombuild]# export PHP_AUTOCONF=/usr/bin/autoconf
[root@server03 custombuild]# ./build php n
mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini
File already exists: php-5.3.10.tar.gz
MD5 Checksum on php-5.3.10.tar.gz passed.
Found /usr/local/directadmin/custombuild/php-5.3.10.tar.gz
Extracting ...
Done.
File already exists: php-bug-61172-1.patch
MD5 Checksum on php-bug-61172-1.patch passed.
Disabling asm/atomic in /usr/include/mysql/my_global.h
patching file sapi/apache2handler/config.m4
patching file sapi/apache2filter/config.m4
patching file configure.in
Forcing buildconf
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from SVN.
make: *** [buildmk.stamp] Error 1
Configuring php-5.3.10...
/usr/local/directadmin/custombuild/configure/ap2/configure.php5: line 3: ./configure: No such file or directory

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

[root@server03 custombuild]#
 
[root@server03 custombuild]# yum -y install autoconf213
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.mirror1.spango.com
* extras: centos.mirror1.spango.com
* updates: centos.mirror1.spango.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package autoconf213-2.13-12.1.noarch already installed and latest version
Nothing to do
[root@server03 custombuild]#
Was installed allready but must i compile apache again with 2.13 installed ?
 
mmh, not sure, but i dont think that

export PHP_AUTOCONF=/usr/bin/autoconf

is needed, the older autoconf from that package should have another filename and/or position.

Regards
 
[root@server03 custombuild]# yum -y install autoconf213
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.mirror1.spango.com
* extras: centos.mirror1.spango.com
* updates: centos.mirror1.spango.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package autoconf213-2.13-12.1.noarch already installed and latest version
Nothing to do
[root@server03 custombuild]# export PHP_AUTOCONF=/usr/bin/autoconf
[root@server03 custombuild]# ./build php n
mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini
File already exists: php-5.3.10.tar.gz
MD5 Checksum on php-5.3.10.tar.gz passed.
Found /usr/local/directadmin/custombuild/php-5.3.10.tar.gz
Extracting ...
Done.
File already exists: php-bug-61172-1.patch
MD5 Checksum on php-bug-61172-1.patch passed.
Disabling asm/atomic in /usr/include/mysql/my_global.h
patching file sapi/apache2handler/config.m4
patching file sapi/apache2filter/config.m4
patching file configure.in
Forcing buildconf
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from SVN.
make: *** [buildmk.stamp] Error 1
Configuring php-5.3.10...
/usr/local/directadmin/custombuild/configure/ap2/configure.php5: line 3: ./configure: No such file or directory

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
Stil nothing and mine configure is this
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--with-pcre-regex=/usr/local \
--with-pdo-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-mbstring
 
Found it .. en solved.
# export PHP_AUTOCONF=/usr/bin/autoconf-2.13
# export PHP_AUTOHEADER=/usr/bin/autoheader-2.13

And installed only start with this warning.
Ignoring deprecated use of DefaultType in line 60
 
troubles other server
[root@server02 custombuild]# ./build apache
mail-header-patch=yes is set in the options.conf, but is not required with this php version.
To enable the X-Mail header, set mail.add_x_header to 1 in your php.ini
File already exists: httpd-2.4.1.tar.gz
MD5 Checksum on httpd-2.4.1.tar.gz passed.
File already exists: httpd_2
File already exists: httpd_2_freebsd
File already exists: httpd_2_debian
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/custombuild/httpd-2.4.1.tar.gz
Extracting /usr/local/directadmin/custombuild/httpd-2.4.1.tar.gz...
File already exists: harden-symlinks-2.4.patch
MD5 Checksum on harden-symlinks-2.4.patch passed.
Patching apache for hardened symlinks patch...
patching file include/http_core.h
patching file server/core.c
Configuring httpd-2.4.1
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu

Configuring Apache Portable Runtime library ...

configure: error: Bundled APR requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/.

*** There was an error while trying to configure Apache 2. Check the configure/ap2/configure.apache file

[root@server02 custombuild]#

But fout no answer on this server the custombuild version is.
#!/bin/sh
# This script is written by DirectAdmin and Martynas Bendorius (smtalk)

BUILDSCRIPT_VER=1.1.38
NAME=custombuild
 
Having the same problem... this only started a few days ago.. I could compile fine before that.


Configuring Apache Portable Runtime library ...

configure: error: Bundled APR requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/.
 
Doenst work get this error
mod_lbmethod_byrequests.c:198: warning: excess elements in scalar initializer
mod_lbmethod_byrequests.c:198: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:161: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:161: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:161: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:161: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:161: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:161: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:161: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:161: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:161: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:161: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:161: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:161: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:161: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:162: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:162: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:163: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:163: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:164: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:164: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:165: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:165: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:166: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:166: warning: (near initialization for 'AP_DECLARE_MODULE')
mod_lbmethod_bytraffic.c:168: warning: excess elements in scalar initializer
mod_lbmethod_bytraffic.c:168: warning: (near initialization for 'AP_DECLARE_MODULE')
make[4]: *** [mod_lbmethod_byrequests.slo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [mod_lbmethod_bytraffic.slo] Error 1
make[4]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.1/modules/proxy/balancers'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.1/modules/proxy/balancers'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.1/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.1'
make: *** [all-recursive] Error 1

*** The make has failed, would you like to try to make again? (y,n):
 
Weird after i installed ioncube by build and put two export lines to autoconf
# export PHP_AUTOCONF=/usr/bin/autoconf-2.13
# export PHP_AUTOHEADER=/usr/bin/autoheader-2.13
 
Back
Top