Installing Bzip2 on CentOS6 w/ DirectAdmin

roelliee

New member
Joined
Sep 27, 2013
Messages
3
Hello,

I've been struggling to install Bzip2 on my centos directadmin installation. Bzip2 is installed via yum but i don't really know how to compile php to use it.

As this is a production server i'm a bit afraid to just test some things and maybe break something. I've googled but i haven't found any guides on the matter. Maybe someone here can help me out?

Thanks in advance.

Kind regards,

Roel Slüper
 
So i just have to add --with-bz2 in the /usr/local/directadmin/custombuild/configure/ap2/configure.php5 and then rebuild php?
 
No.

You need to copy this: /usr/local/directadmin/custombuild/configure/ap2/configure.php5

to this: /usr/local/directadmin/custombuild/custom/ap2/configure.php5

So will not be overwritten on future custombuild update.

than edit and add that line (remeber the training \ at the end of the line if is not the last one, or add the \ at the actual last one if the bizp2 will be the last one)

Than yes, recompile php.

Regards
 
Back
Top