Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing bzip2 for php

I have a server with CentOs and PHP 5.3.16 and I want to enable bzip2 to use with php.. I downloaded and installed bzip2 from its original site in /usr/local/bin and edited the configuration.php5 file and inclueded --with-bz2=/usr/local/bin in it. but after I make install it says that :

unable to load dynamic library /usr/local/bin/php/extensions/no-debug-non-zts-20090626/bz2.so

what I am doing wrong?

like image 636
Exlord Avatar asked Jan 26 '26 14:01

Exlord


1 Answers

Oops it seems that I shouldn't have set extensions=bz2.so in php.ini file.

Removing it solved the problem.

like image 114
Exlord Avatar answered Jan 28 '26 04:01

Exlord