Installing Zlib for PHP on Windows












0















How do I install Zlib for PHP under Windows?










share|improve this question













migrated from stackoverflow.com May 20 '11 at 13:56


This question came from our site for professional and enthusiast programmers.














  • 1





    php.net/manual/en/zlib.installation.php

    – cabaret
    May 20 '11 at 13:20











  • Yes, I read this, but I am essentially asking what "You will need to configure PHP --with-zlib[=DIR]" means and how it's done.

    – moteutsch
    May 20 '11 at 13:22






  • 3





    @moteutsch that part relates to building/compiling PHP from scratch only. If you are using the Windows binaries, there is nothing to do.

    – Pekka 웃
    May 20 '11 at 13:24











  • So there is no way for me to install Zlib?

    – moteutsch
    May 20 '11 at 13:27






  • 1





    @moteutsch: Apparently you have not read that, otherwise you would have seen the huge box saying "Note: Built-in support for zlib on Windows is available with PHP 4.3.0." It could have been formulated "4.3.0 and newer", but aside from that, I don't see how it doesn't answer your question. [spoonfeeding]If you use PHP 4.3.0 or newer (this includes PHP 5) on Windows, zlib is already installed and you don't need to install it.[/spoonfeeding] Happy now?

    – Piskvor
    May 20 '11 at 13:30
















0















How do I install Zlib for PHP under Windows?










share|improve this question













migrated from stackoverflow.com May 20 '11 at 13:56


This question came from our site for professional and enthusiast programmers.














  • 1





    php.net/manual/en/zlib.installation.php

    – cabaret
    May 20 '11 at 13:20











  • Yes, I read this, but I am essentially asking what "You will need to configure PHP --with-zlib[=DIR]" means and how it's done.

    – moteutsch
    May 20 '11 at 13:22






  • 3





    @moteutsch that part relates to building/compiling PHP from scratch only. If you are using the Windows binaries, there is nothing to do.

    – Pekka 웃
    May 20 '11 at 13:24











  • So there is no way for me to install Zlib?

    – moteutsch
    May 20 '11 at 13:27






  • 1





    @moteutsch: Apparently you have not read that, otherwise you would have seen the huge box saying "Note: Built-in support for zlib on Windows is available with PHP 4.3.0." It could have been formulated "4.3.0 and newer", but aside from that, I don't see how it doesn't answer your question. [spoonfeeding]If you use PHP 4.3.0 or newer (this includes PHP 5) on Windows, zlib is already installed and you don't need to install it.[/spoonfeeding] Happy now?

    – Piskvor
    May 20 '11 at 13:30














0












0








0








How do I install Zlib for PHP under Windows?










share|improve this question














How do I install Zlib for PHP under Windows?







php wamp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 20 '11 at 13:18









moteutschmoteutsch

10613




10613




migrated from stackoverflow.com May 20 '11 at 13:56


This question came from our site for professional and enthusiast programmers.









migrated from stackoverflow.com May 20 '11 at 13:56


This question came from our site for professional and enthusiast programmers.










  • 1





    php.net/manual/en/zlib.installation.php

    – cabaret
    May 20 '11 at 13:20











  • Yes, I read this, but I am essentially asking what "You will need to configure PHP --with-zlib[=DIR]" means and how it's done.

    – moteutsch
    May 20 '11 at 13:22






  • 3





    @moteutsch that part relates to building/compiling PHP from scratch only. If you are using the Windows binaries, there is nothing to do.

    – Pekka 웃
    May 20 '11 at 13:24











  • So there is no way for me to install Zlib?

    – moteutsch
    May 20 '11 at 13:27






  • 1





    @moteutsch: Apparently you have not read that, otherwise you would have seen the huge box saying "Note: Built-in support for zlib on Windows is available with PHP 4.3.0." It could have been formulated "4.3.0 and newer", but aside from that, I don't see how it doesn't answer your question. [spoonfeeding]If you use PHP 4.3.0 or newer (this includes PHP 5) on Windows, zlib is already installed and you don't need to install it.[/spoonfeeding] Happy now?

    – Piskvor
    May 20 '11 at 13:30














  • 1





    php.net/manual/en/zlib.installation.php

    – cabaret
    May 20 '11 at 13:20











  • Yes, I read this, but I am essentially asking what "You will need to configure PHP --with-zlib[=DIR]" means and how it's done.

    – moteutsch
    May 20 '11 at 13:22






  • 3





    @moteutsch that part relates to building/compiling PHP from scratch only. If you are using the Windows binaries, there is nothing to do.

    – Pekka 웃
    May 20 '11 at 13:24











  • So there is no way for me to install Zlib?

    – moteutsch
    May 20 '11 at 13:27






  • 1





    @moteutsch: Apparently you have not read that, otherwise you would have seen the huge box saying "Note: Built-in support for zlib on Windows is available with PHP 4.3.0." It could have been formulated "4.3.0 and newer", but aside from that, I don't see how it doesn't answer your question. [spoonfeeding]If you use PHP 4.3.0 or newer (this includes PHP 5) on Windows, zlib is already installed and you don't need to install it.[/spoonfeeding] Happy now?

    – Piskvor
    May 20 '11 at 13:30








1




1





php.net/manual/en/zlib.installation.php

– cabaret
May 20 '11 at 13:20





php.net/manual/en/zlib.installation.php

– cabaret
May 20 '11 at 13:20













Yes, I read this, but I am essentially asking what "You will need to configure PHP --with-zlib[=DIR]" means and how it's done.

– moteutsch
May 20 '11 at 13:22





Yes, I read this, but I am essentially asking what "You will need to configure PHP --with-zlib[=DIR]" means and how it's done.

– moteutsch
May 20 '11 at 13:22




3




3





@moteutsch that part relates to building/compiling PHP from scratch only. If you are using the Windows binaries, there is nothing to do.

– Pekka 웃
May 20 '11 at 13:24





@moteutsch that part relates to building/compiling PHP from scratch only. If you are using the Windows binaries, there is nothing to do.

– Pekka 웃
May 20 '11 at 13:24













So there is no way for me to install Zlib?

– moteutsch
May 20 '11 at 13:27





So there is no way for me to install Zlib?

– moteutsch
May 20 '11 at 13:27




1




1





@moteutsch: Apparently you have not read that, otherwise you would have seen the huge box saying "Note: Built-in support for zlib on Windows is available with PHP 4.3.0." It could have been formulated "4.3.0 and newer", but aside from that, I don't see how it doesn't answer your question. [spoonfeeding]If you use PHP 4.3.0 or newer (this includes PHP 5) on Windows, zlib is already installed and you don't need to install it.[/spoonfeeding] Happy now?

– Piskvor
May 20 '11 at 13:30





@moteutsch: Apparently you have not read that, otherwise you would have seen the huge box saying "Note: Built-in support for zlib on Windows is available with PHP 4.3.0." It could have been formulated "4.3.0 and newer", but aside from that, I don't see how it doesn't answer your question. [spoonfeeding]If you use PHP 4.3.0 or newer (this includes PHP 5) on Windows, zlib is already installed and you don't need to install it.[/spoonfeeding] Happy now?

– Piskvor
May 20 '11 at 13:30










1 Answer
1






active

oldest

votes


















0














Since it is included in PHP versions since 4.3.0, I would put a phpinfo.php page online with the following contents:



<?php

phpinfo();

?>


Save this file, upload it to a web-accessible directory and browse to it. I would then do a find (Ctrl+F in Firefox) and search for zlib. That'll show you information regarding zlib if it is detected - It should be.



Once you have your information, I would delete the phpinfo.php file from the server or at least move it out of the web-accessible directory to prevent snooping.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f286248%2finstalling-zlib-for-php-on-windows%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Since it is included in PHP versions since 4.3.0, I would put a phpinfo.php page online with the following contents:



    <?php

    phpinfo();

    ?>


    Save this file, upload it to a web-accessible directory and browse to it. I would then do a find (Ctrl+F in Firefox) and search for zlib. That'll show you information regarding zlib if it is detected - It should be.



    Once you have your information, I would delete the phpinfo.php file from the server or at least move it out of the web-accessible directory to prevent snooping.






    share|improve this answer




























      0














      Since it is included in PHP versions since 4.3.0, I would put a phpinfo.php page online with the following contents:



      <?php

      phpinfo();

      ?>


      Save this file, upload it to a web-accessible directory and browse to it. I would then do a find (Ctrl+F in Firefox) and search for zlib. That'll show you information regarding zlib if it is detected - It should be.



      Once you have your information, I would delete the phpinfo.php file from the server or at least move it out of the web-accessible directory to prevent snooping.






      share|improve this answer


























        0












        0








        0







        Since it is included in PHP versions since 4.3.0, I would put a phpinfo.php page online with the following contents:



        <?php

        phpinfo();

        ?>


        Save this file, upload it to a web-accessible directory and browse to it. I would then do a find (Ctrl+F in Firefox) and search for zlib. That'll show you information regarding zlib if it is detected - It should be.



        Once you have your information, I would delete the phpinfo.php file from the server or at least move it out of the web-accessible directory to prevent snooping.






        share|improve this answer













        Since it is included in PHP versions since 4.3.0, I would put a phpinfo.php page online with the following contents:



        <?php

        phpinfo();

        ?>


        Save this file, upload it to a web-accessible directory and browse to it. I would then do a find (Ctrl+F in Firefox) and search for zlib. That'll show you information regarding zlib if it is detected - It should be.



        Once you have your information, I would delete the phpinfo.php file from the server or at least move it out of the web-accessible directory to prevent snooping.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 20 '11 at 14:43









        BrendanBrendan

        21411




        21411






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f286248%2finstalling-zlib-for-php-on-windows%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix