How to get php-cgi with phpbrew (PHP5.3.x)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I installed php-5.6.40 php-7.1.14 with phpbrew and I've got php-cgi binaries on these both version. I used this command for get php-cgi 5.6.40



phpbrew install 5.6.40 +default+fpm+mysql+sqlite+mb+iconv+json+iconv+exif+fileinfo +curl=/opt/CURL/curl-7.26.0 +openssl=/opt/OpenSSL/openssl-1.0.1u


and I get



~# /opt/phpbrew/php/php-5.6.40/bin/php-cgi -v
PHP 5.6.40 (cgi-fcgi) (built: Jan 14 2019 12:19:43)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies


On the same system, I'm trying to do the same with an old version with this command



phpbrew install --old 5.3.29 +default+fpm+cgi+cli+mysql+sqlite+mb+iconv+json+iconv+exif+fileinfo +curl=/opt/CURL/curl-7.26.0 +openssl=/opt/OpenSSL/openssl-1.0.1u -- --enable-cgi


The compilation has been finished without error but php-cgi is not present in the bin directory of php version 5.3.29










share|improve this question






















  • Php5.3 is a fossil. Are you sure you want to have many troubles with it?

    – peterh
    Jan 14 at 19:31











  • My question should be is php5.3.x managing php as cgi mode instead php-cgi binary

    – dubis
    Jan 15 at 8:33















1















I installed php-5.6.40 php-7.1.14 with phpbrew and I've got php-cgi binaries on these both version. I used this command for get php-cgi 5.6.40



phpbrew install 5.6.40 +default+fpm+mysql+sqlite+mb+iconv+json+iconv+exif+fileinfo +curl=/opt/CURL/curl-7.26.0 +openssl=/opt/OpenSSL/openssl-1.0.1u


and I get



~# /opt/phpbrew/php/php-5.6.40/bin/php-cgi -v
PHP 5.6.40 (cgi-fcgi) (built: Jan 14 2019 12:19:43)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies


On the same system, I'm trying to do the same with an old version with this command



phpbrew install --old 5.3.29 +default+fpm+cgi+cli+mysql+sqlite+mb+iconv+json+iconv+exif+fileinfo +curl=/opt/CURL/curl-7.26.0 +openssl=/opt/OpenSSL/openssl-1.0.1u -- --enable-cgi


The compilation has been finished without error but php-cgi is not present in the bin directory of php version 5.3.29










share|improve this question






















  • Php5.3 is a fossil. Are you sure you want to have many troubles with it?

    – peterh
    Jan 14 at 19:31











  • My question should be is php5.3.x managing php as cgi mode instead php-cgi binary

    – dubis
    Jan 15 at 8:33













1












1








1








I installed php-5.6.40 php-7.1.14 with phpbrew and I've got php-cgi binaries on these both version. I used this command for get php-cgi 5.6.40



phpbrew install 5.6.40 +default+fpm+mysql+sqlite+mb+iconv+json+iconv+exif+fileinfo +curl=/opt/CURL/curl-7.26.0 +openssl=/opt/OpenSSL/openssl-1.0.1u


and I get



~# /opt/phpbrew/php/php-5.6.40/bin/php-cgi -v
PHP 5.6.40 (cgi-fcgi) (built: Jan 14 2019 12:19:43)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies


On the same system, I'm trying to do the same with an old version with this command



phpbrew install --old 5.3.29 +default+fpm+cgi+cli+mysql+sqlite+mb+iconv+json+iconv+exif+fileinfo +curl=/opt/CURL/curl-7.26.0 +openssl=/opt/OpenSSL/openssl-1.0.1u -- --enable-cgi


The compilation has been finished without error but php-cgi is not present in the bin directory of php version 5.3.29










share|improve this question














I installed php-5.6.40 php-7.1.14 with phpbrew and I've got php-cgi binaries on these both version. I used this command for get php-cgi 5.6.40



phpbrew install 5.6.40 +default+fpm+mysql+sqlite+mb+iconv+json+iconv+exif+fileinfo +curl=/opt/CURL/curl-7.26.0 +openssl=/opt/OpenSSL/openssl-1.0.1u


and I get



~# /opt/phpbrew/php/php-5.6.40/bin/php-cgi -v
PHP 5.6.40 (cgi-fcgi) (built: Jan 14 2019 12:19:43)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies


On the same system, I'm trying to do the same with an old version with this command



phpbrew install --old 5.3.29 +default+fpm+cgi+cli+mysql+sqlite+mb+iconv+json+iconv+exif+fileinfo +curl=/opt/CURL/curl-7.26.0 +openssl=/opt/OpenSSL/openssl-1.0.1u -- --enable-cgi


The compilation has been finished without error but php-cgi is not present in the bin directory of php version 5.3.29







compiling php5 cgi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 14 at 16:58









dubisdubis

5231516




5231516












  • Php5.3 is a fossil. Are you sure you want to have many troubles with it?

    – peterh
    Jan 14 at 19:31











  • My question should be is php5.3.x managing php as cgi mode instead php-cgi binary

    – dubis
    Jan 15 at 8:33

















  • Php5.3 is a fossil. Are you sure you want to have many troubles with it?

    – peterh
    Jan 14 at 19:31











  • My question should be is php5.3.x managing php as cgi mode instead php-cgi binary

    – dubis
    Jan 15 at 8:33
















Php5.3 is a fossil. Are you sure you want to have many troubles with it?

– peterh
Jan 14 at 19:31





Php5.3 is a fossil. Are you sure you want to have many troubles with it?

– peterh
Jan 14 at 19:31













My question should be is php5.3.x managing php as cgi mode instead php-cgi binary

– dubis
Jan 15 at 8:33





My question should be is php5.3.x managing php as cgi mode instead php-cgi binary

– dubis
Jan 15 at 8:33










1 Answer
1






active

oldest

votes


















0














This command installs php-cgi



phpbrew install --old 5.3.29 +default+openssl=/opt/OpenSSL/openssl-1.0.1u


Without error That's odd because when I try to force the variants I don't have php-cgi. Anyway I've got the issue. It's working with PHP 5.3.7 too






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f494459%2fhow-to-get-php-cgi-with-phpbrew-php5-3-x%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














    This command installs php-cgi



    phpbrew install --old 5.3.29 +default+openssl=/opt/OpenSSL/openssl-1.0.1u


    Without error That's odd because when I try to force the variants I don't have php-cgi. Anyway I've got the issue. It's working with PHP 5.3.7 too






    share|improve this answer



























      0














      This command installs php-cgi



      phpbrew install --old 5.3.29 +default+openssl=/opt/OpenSSL/openssl-1.0.1u


      Without error That's odd because when I try to force the variants I don't have php-cgi. Anyway I've got the issue. It's working with PHP 5.3.7 too






      share|improve this answer

























        0












        0








        0







        This command installs php-cgi



        phpbrew install --old 5.3.29 +default+openssl=/opt/OpenSSL/openssl-1.0.1u


        Without error That's odd because when I try to force the variants I don't have php-cgi. Anyway I've got the issue. It's working with PHP 5.3.7 too






        share|improve this answer













        This command installs php-cgi



        phpbrew install --old 5.3.29 +default+openssl=/opt/OpenSSL/openssl-1.0.1u


        Without error That's odd because when I try to force the variants I don't have php-cgi. Anyway I've got the issue. It's working with PHP 5.3.7 too







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 21 at 16:06









        dubisdubis

        5231516




        5231516



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f494459%2fhow-to-get-php-cgi-with-phpbrew-php5-3-x%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

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?