Update Apache to 2.2.3 from 2.2.17 on CentOS 5.5

drackox

Verified User
Joined
Oct 28, 2004
Messages
17
Need some help. I have tried so many different things, I now can't remember what I did and didn't do.

I have revert back to 2.2.17 and server runs fine. However I need to install APC which requires HTTP-DEVEL and the only rpms I can find are for 2.2.3

I assume I would need to update to 2.2.3, but can't seem to figure out how to use custombuild to compile 2.2.3

If I get the rpm manually and update, I get errors and httpd will not start

I'm a little slow so please give me an idea on what to do.

Thanks
 
To install apache 2.2.3 do following:

0.
Code:
cd /usr/local/directadmin/custombuild
./build set autover no
1. Download apache 2.2.3 to /usr/local/directadmin/custombuild

2. Update /usr/local/directadmin/custombuild/versions.txt. Change line

apache2.2:2.2.17:66d8e107f85acc039fd5e624e85728a9

with

apache2.2:2.2.3:here_put_correct_md5summ.

3.
Code:
./build apache
 
By the way, I've just installed APC without any problem (actual for PHP-CGI 5):

Code:
cd /usr/local/src
wget http://pecl.php.net/get/APC -O APC-3.1.6.tgz
tar -zxvf /usr/local/src/APC-3.1.6.tgz
cd APC-3.1.6
/usr/local/php5/bin/phpize
./configure --with-php-config=/usr/local/php5/bin/php-config
./make && ./make test && ./make install
cd /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/
cp apc.so ../



No need in HTTP-DEV...

You can try

Code:
pecl install APC
 
Last edited:
To install apache 2.2.3 do following:

0.
Code:
cd /usr/local/directadmin/custombuild
./build set autover no
1. Download apache 2.2.3 to /usr/local/directadmin/custombuild

2. Update /usr/local/directadmin/custombuild/versions.txt. Change line

apache2.2:2.2.17:66d8e107f85acc039fd5e624e85728a9

with

apache2.2:2.2.3:here_put_correct_md5summ.

3.
Code:
./build apache


Ok now i'm feeling really retarded lol :) Normally I can find this stuff, but today seems to not be my day - it's snowing outside :(

I can't seem to find apache 2.2.3 tar.gz file much less a checksum.. can you post a mirror to download a file and the checksum please

I will praise the path you walk upon :)
 
How are you going to install APC? If you're going to install it from rpm or with yum, I think, it won't do on servers with Directadmin. Try pecl instead.
 
By the way, I've just installed APC without any problem (actual for PHP-CGI 5):

Code:
cd /usr/local/src
wget http://pecl.php.net/get/APC -O APC-3.1.6.tgz
tar -zxvf /usr/local/src/APC-3.1.6.tgz
cd APC-3.1.6
/usr/local/php5/bin/phpize
./configure --with-php-config=/usr/local/php5/bin/php-config
./make && ./make test && ./make install
cd /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/
cp apc.so ../



No need in HTTP-DEV...

You can try

Code:
pecl install APC


I get:

Code:
[root@server APC-3.1.10]# /usr/local/php5/bin/phpize
-bash: /usr/local/php5/bin/phpize: No such file or directory


Why ?
 
Note, APC does not work with PHP-CGI (suPHP).
If you have no /usr/local/php5/bin/phpize, then try simply

Code:
phpize

or find where is it:

Code:
which phpize
 
Back
Top