Re: ports have made me lazy



Vince Sabio wrote:

I need to install zlib (not zlibc), and AFACT it is not included in
ports. When I look at the zlib web site, I see that there are several
(not a lot, but several) dependencies for the installation -- and I
think, "OH NO, NOT DEPENDENCIES!" Or something like that.

I blame it on ports. They have made me lazy. I am a victim. ;-)

Anyway, and more to the point, am I missing something? Is zlib really
not included in ports? If not, is there an automated/semi-automated
means of installing it -- or am I back to the old days of installing
dependencies manually?

Why not use the one that came with the system? /lib/libz.so.4 You won't be
happy if you manage to get two of them installed; use the one already
present in the system by default.

(I have had two servers go toes up in three days, so if I've missed
the obvious here, well, it wouldn't surprise me. Just administer clue
in the standard manner, and I'll get with the program.)

This is different. If by some odd chance you are talking about this in
php.ini: zlib.output_handler = /lib/libz.so.4 - I have noticed a problem a
time or two in the past with certain PHP apps. I run with mod_deflate also
and sometimes PHP apps balk at running with both. The advantage of using
libz in php.ini is it compresses the PHP output stream, while mod_deflate is
only good for static content.

The above is kind of confusing, but wrt PHP there can be a difficulty if the
app has written in it's own zlib compression routines internally. You can't
do the compression in PHP twice.

On apps where I have experienced problems, it was either turn off libz
compression in php.ini or disable the .gz compression setting in the app's
setup/configuration utility. I always opted for the latter, as this would
maintain the ability for other apps in a default fashion. You'll know if
this problem is present if when you try and access a PHP page you either get
a page full of garbage or the server errors/crashes with a 500 server error.

Just to be thorough, there is also a php5-zlib extension, which the
construction of some apps may require.

-Mike




_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [PHP] stripping with an OB callback
    ... send the right headers to do it all in PHP, regardless of server ... compression is because this app shares php.ini with several other PHP ... admins of those apps. ...
    (php.general)
  • Re: [PHP] stripping with an OB callback
    ... compression is because this app shares php.ini with several other PHP ... apps on the server, and I don't want to foist this change on the ... admins of those apps. ...
    (php.general)
  • Re: What Vistas going to look like...
    ... >>> so scripted apps can do more heavyweight stuff. ... OS X ships with PHP. ... (Ruby on Rails, for instance, though this will ...
    (comp.sys.mac.advocacy)
  • Re: 360 Homebrew Breakthrough
    ... Here's where things really get interesting: It's apparently very easy to integrate Windows applications into the MCE "More Programs" tab. ... So I downloaded a couple of apps and installed them on MCE, switched over to the 360, and lo and behold, most of them run perfectly. ... I also tried installing a couple of shareware games, including a Tetris clone and some card games. ...
    (uk.games.video.xbox)
  • RE: How to block users from installing other apps
    ... How to block users from installing other apps ... and add their domain account to the local admin group. ...
    (Focus-Microsoft)

Quantcast