Trouble enabling ZLIB extension on FreeBSD server
-
I am running WordPress 3.01 on two different FreeBSD8.1 servers, each running Apache 2.2 and php5-5.3.3_2. I discovered that ZLIB extensions for PHP were only installed on one of the servers, when a user tried to install a theme through the WordPress interface.
However I have had the hardest time trying to get ZLIB added to the one server. I tried installing it via the FreeBSD Ports Tree. Specifically, I tried both through /usr/ports/archivers/php52-zlib and /usr/ports/lang/php52-extensions. In both cases, I inexplicably get:
===> php52-zlib-5.2.14_1 cannot install: doesn’t work with PHP version : 5 (Doesn’t support PHP 4 5).
*** Error code 1Stop in /usr/ports/archivers/php52-zlib.
This method is pretty specific to FreeBSD. Is there a more standard way of adding extensions to PHP?
- The topic ‘Trouble enabling ZLIB extension on FreeBSD server’ is closed to new replies.