Apache httpd 2.4.1 Released

In the mean time one of my servers crushed down... I haven't looked through carefully enough, so I didn't realize that there was libphp6 in the last two lines.

But the mod_fcgid is problem is still exist. Any idea?
 
I use php 5.3.10 cli apache 2.4.1 but get this error in restart apache
Starting httpd: [Fri Mar 02 22:16:47.465149 2012] [core:warn] [pid 9788] AH00117: Ignoring deprecated use of DefaultType in line 60 of /etc/httpd/conf/httpd.conf.
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/ips.conf:6
 
Looks like its a mess still...Im too afraid to upgrade yet :D
 
I use php 5.3.10 cli apache 2.4.1
I run command php -v and get this errors:
Failed loading /usr/local/lib/ZendGuardLoader.so: /usr/local/lib/ZendGuardLoader.so: undefined symbol: compiler_globals
PHP 5.3.10 (cli) (built: Mar 2 2012 22:16:08)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd.
 
I use php 5.3.10 cli apache 2.4.1 but get this error in restart apache
Starting httpd: [Fri Mar 02 22:16:47.465149 2012] [core:warn] [pid 9788] AH00117: Ignoring deprecated use of DefaultType in line 60 of /etc/httpd/conf/httpd.conf.
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/ips.conf:6



That is not an error, that is a warning. Since that it should affect your apache.
 
I do this but I get error yet
1) re-configure with apache with prefork mode , by default it was worker mode.
2) add two parameter for php configure
--disable-maintainer-zts
--disable-safe-mode

I use php 5.3.10 cli apache 2.4.1
I run command php -v and get this errors:
Failed loading /usr/local/lib/ZendGuardLoader.so: /usr/local/lib/ZendGuardLoader.so: undefined symbol: compiler_globals
 
I do this but I get error yet
1) re-configure with apache with prefork mode , by default it was worker mode.
2) add two parameter for php configure
--disable-maintainer-zts
--disable-safe-mode

I use php 5.3.10 cli apache 2.4.1
I run command php -v and get this errors:
Failed loading /usr/local/lib/ZendGuardLoader.so: /usr/local/lib/ZendGuardLoader.so: undefined symbol: compiler_globals

It seems that you have modified the code by yourself, because the default MPM is prefork and configure.apache file should look like:
http://files.directadmin.com/services/custombuild/1.1/custombuild/configure/ap2/configure.apache

safe_mode is deprecated in PHP 5.3 and removed in PHP 5.4, so you shouldn't use any compilation flags for it. And I think that maintainer-zts is disabled by default, so you don't need to disable it (unless you want to enable ts, then you should use --enable-maintainer-zts).
 
This is my configure.apache file content
#!/bin/sh
"./configure" \
"--prefix=/etc/httpd" \
"--exec-prefix=/etc/httpd" \
"--bindir=/usr/bin" \
"--sbindir=/usr/sbin" \
"--sysconfdir=/etc/httpd/conf" \
"--enable-so" \
"--enable-dav" \
"--enable-dav-fs" \
"--enable-dav-lock" \
"--enable-suexec" \
"--enable-deflate" \
"--enable-unique-id" \
"--enable-mods-static=most" \
"--with-mpm=prefork" \
"--with-suexec-caller=apache" \
"--with-suexec-docroot=/" \
"--with-suexec-gidmin=100" \
"--with-suexec-logfile=/var/log/httpd/suexec_log" \
"--with-suexec-uidmin=100" \
"--with-suexec-userdir=public_html" \
"--with-suexec-bin=/usr/sbin/suexec" \
"--with-included-apr" \
"--with-pcre=/usr/local" \
"--includedir=/usr/include/apache" \
"--libexecdir=/usr/lib/apache" \
"--datadir=/var/www" \
"--localstatedir=/var" \
"--enable-logio" \
"--enable-ssl" \
"--enable-rewrite" \
"--enable-proxy" \
"--enable-expires" \
"--with-ssl=/usr" \
"--enable-headers"
 
I got the following error with CB 1.2.31 .

Starting httpd: httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined symbol: ap_log_rerror
 
I got the following error with CB 1.2.31 .

Starting httpd: httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined symbol: ap_log_rerror

You upgraded apache, but not recompiled PHP. After apache upgrade, additional modules (like PHP) need to be recompiled. The following command should fix your problem:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build php n
 
I tried to upgrade Apache to 2.4.1 and PHP to 4.0 at the same time and got that error. Will try again later. Thanks, Smtalk!
 
@smtalk:
It would be very nice to not have downtime because of this. custombuild will immediately restart Apache after building it, even although it hasn't recompiled PHP yet. Bonus points if custombuild had the option to build both PHP and Apache, and only then restart Apache. While recompiling php, Apache is completely offline. I had to handle this using a maintenance page with nginx, but that's still a few minutes downtime.
 
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /var/www/html/phpMyAdmin-3.4.10.1-all-languages/libraries/session.inc.php on line 92
 
Last edited:
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /var/www/html/phpMyAdmin-3.4.10.1-all-languages/libraries/session.inc.php on line 92

That's actually a configuration issue. Check your php.ini, specifically the session storage path.
 
Back
Top