Apache httpd 2.4.1 Released

Fix is already added for PHP 5.3 and 5.4. I'm planning to create a patch for PHP 5.2 and 4.4 too.
 
when i upgrade to 2.4.1 i try to build php 5.3:
gcc: /usr/lib/mysql/libmysqlclient_r.so: No such file or directory
make:
*** [libphp5.la] Error 1
 
Last edited:
@ben29:
I think that that can be resolved with the patch which smtalk will include soon (it's there already, just not properly patching). Upgrading to PHP 5.4 first solved the issue for me as well.

Strongly recommend waiting for smtalk's fix though.
 
I get error with zend yet
I used php 5.3.10 and apache 2.4.1
how to solve it?
# php -v
Failed loading /usr/local/lib/ZendGuardLoader.so: /usr/local/lib/ZendGuardLoader.so: undefined symbol: compiler_globals
PHP 5.3.10 (cli) (built: Mar 9 2012 16:20:48)
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 .
 
Is it safe to update from 2.2 to 2.4 on php 5.3.10? I only read errors in this topic.
 
Is it safe to update from 2.2 to 2.4 on php 5.3.10? I only read errors in this topic.

[edited]
No, I recommend against it. The patch included in custombuild isn't applied properly.

[edited again]
It's now safe to update to Apache 2.4, with either PHP 5.3.10 or PHP 5.4.0
 
Last edited:
I tried this today. Here are some of the appropriate options.conf lines:
custombuild=1.2
php5_ver=5.4
apache_ver=2.4

I did the following:
./build clean
./build update
./build update_data
./build update_versions

When finished Apache wouldn't start. Here's the error:

Starting httpd: httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Sy ntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined s ymbol: unixd_config

I changed it back to 1.2 and did the process again and all is well.

What did I do wrong?

Thanks,
-Joe
 
You need to execute the following commands after updade of apache:
Code:
cd /usr/local/directadmin/custombuild
./build php n
 
I build apache (2.4) and then PHP (5.3), but then sey:

Code:
root@palvelin:/usr/local/directadmin/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/local/mysql/include/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: You need autoconf 2.59 or lower to build this version of PHP.
           You are currently trying to use 2.68
           Most distros have separate autoconf 2.13 or 2.59 packages.
           On Debian/Ubuntu both autoconf2.13 and autoconf2.59 packages exist.
           Install autoconf2.13 and set the PHP_AUTOCONF env var to
           autoconf2.13 and try again.
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
 
I build apache (2.4) and then PHP (5.3), but then sey:

There was a post earlier about this. As the message says, you NEED an earlier version of autoconf. I assume you are on an RHEL6 variant? They were the ones listed as having this issue, if you you should be able to install autoconf213 to fix the issue.
 
My recommendation would be to just upgrade to PHP 5.4, instead of keeping PHP 5.3. That immediately fixes the autoconf issue.
 
I build apache (2.4) and then PHP (5.3), but then sey:

After looking around on the forums and Google i did this to get it to work (Ubuntu btw).
apt-get install autoconf2.13
export PHP_AUTOCONF=/usr/bin/autoconf
./build php n
So far so good.
Apache 2.4.1 installed with PHP 5.3.10 and Ioncube still working.
 
After looking around on the forums and Google i did this to get it to work (Ubuntu btw).
apt-get install autoconf2.13
export PHP_AUTOCONF=/usr/bin/autoconf
./build php n
So far so good.
Apache 2.4.1 installed with PHP 5.3.10 and Ioncube still working.

Thanks, this works.
 
any advance with mod_fcgid?

I updated apache to 2.4.1 but I had problem with mod_fcgid , returning the next message
Cannot load /usr/lib/apache/mod_fcgid.so into server: /usr/lib/apache/mod_fcgid.so: undefined symbol: unixd_config

Any alternative and similar to mod_fcgid to work with 2.4.1?
 
i experienced lot of connection reset errors in the browser after upgrading to 2.4.1 so had to switch back to 2.2
 
Back
Top