How to get php-cgi with phpbrew (PHP5.3.x)
Clash Royale CLAN TAG#URR8PPP
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
add a comment |
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
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
add a comment |
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
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
compiling php5 cgi
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Jan 21 at 16:06
dubisdubis
5231516
5231516
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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