Find the answer to your Linux question:
Results 1 to 2 of 2
hey guys, i have installed php from the freeware for solaris site. But I have no zlib support so I guess I have to reinstall php again. How do I ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    14

    php with no zlib support

    hey guys,
    i have installed php from the freeware for solaris site.
    But I have no zlib support so I guess I have to reinstall php again.
    How do I do this, I have heard people say do ./configure with "-with-zlib=[dir]" option
    but I dont have a configure script.
    Any help will be appreciated.

  2. #2
    Just Joined!
    Join Date
    Feb 2010
    Posts
    1
    You should donwload source from http php.net/downloads.php

    When you extract archive, you should cd to that dir, and run
    Code:
    ./configure --help
    That will list you every ./configure options
    Since you need zlib support, you can also try this
    Code:
    ./configure --help | grep -i zlib
    You can find your zlib dir by doing this:
    Code:
    su -c updatedb
    locate zlib | less
    or
    Code:
    whereis zlib
    After ./configure, do
    Code:
    make
    su -c "make install"
    and your done

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...