Questions tagged [phpbrew]

phpbrew is used to build and install multiple version php(s) in your $HOME directory.

See also:

27 questions
7
votes
4 answers

How to switch between PHP 5.6 / 7.2 on Cloud9?

I use AWS Cloud9 Amazon Web Services a.k.a. Cloud9 IDE. I’m trying to achieve a setup where I can easily switch the frontend (not CLI) PHP version with PHPBrew between 5.6 and 7 whenever. For now, I’ve only achieved that the bash has the 5.6.31, the…
4
votes
3 answers

Symfony demo app install fails - pdo_sqlite missing

I am trying to use the Symfony 4 demo application https://github.com/symfony/demo but when I install it with composer I get the error described below. I am using Ubuntu 16.04 and php 7.1 installed via phpbrew. My steps are as follows: $ cd…
CTaylorGuitar
  • 129
  • 4
  • 13
4
votes
1 answer

PHPBrew update existing install with variant?

Once you've installed a PHP version using phpbrew install x.x.x, is it possible to add variants afterwards?
Chris Rogers
  • 1,437
  • 2
  • 20
  • 37
4
votes
2 answers

How to use composer with phpbrew?

I installed phpbrew to use php 5.4 in Ubuntu 14.04. It works fine, except when I try to use composer, which ignores phpbrew and installs dependencies related to php 5.5. Is there a way to force composer to be compatible with phpbrew config? I…
nitche
  • 121
  • 2
  • 13
2
votes
0 answers

How to install INTL into Php 5.5.9 using PHPBREW

I'm working on some legacy code using PHP 5.5.9. Which uses intl. I installed php 5.5.9 with PhpBrew on my mac machine running: phpbrew install --mirror=https://www.php.net php-5.5.9 +default +mysql +pdo +openssl=/usr/local/opt/openssl…
Rubberduck1337106092
  • 1,044
  • 2
  • 19
  • 34
2
votes
1 answer

phpbrew php7 throws gnutls_handshake() failed: Illegal parameter

I've compiled php7.1.30 on ubuntu 14.04 successfully. When I test that peace of code / Get cURL resource $curl = curl_init(); // Set some options - we are passing in a useragent too here curl_setopt_array($curl, [ CURLOPT_RETURNTRANSFER => 1, …
gskillz
  • 1,100
  • 7
  • 24
2
votes
0 answers

PHPBrew and SSL

I am attempting to spin up PHPBrew and installing PHP 5.5.38 (I know - it's old and we shouldn't be using it but I have little say in the matter!) Running: phpbrew install 5.5.38 Runs into the following…
Zakalwe
  • 863
  • 1
  • 7
  • 17
2
votes
0 answers

Unable to install phpbrew mongo extension

I am trying to install phpbrew mongo extension phpbrew ext install mongo but I am getting error Error: Command failed: ./configure --with-php-config=/home/.phpbrew/php/php-5.5.38/bin/php-config >>…
User 101
  • 971
  • 2
  • 8
  • 16
2
votes
4 answers

PHPBrew - various problems with installation

I am trying to install PHP 5.4 with PHPBrew but have those errors: -> % phpbrew install 5.4.6 +default +apxs2 +mysql ===> phpbrew will now build 5.4.6 ===> Loading and resolving variants... Checking distribution…
breq
  • 20,864
  • 20
  • 55
  • 98
1
vote
1 answer

Install PHP-7.3 with phpbrew on OS X 10.15.7 (aka OSX14) fails

Installation of PHP-7.3 with phpbrew on OS X 10.15.7 (Catalina): Error: Make failed: The last 5 lines in the log file: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/dirent.h:110:1: note: 'readdir_r' declared here int…
codeneuss
  • 885
  • 4
  • 11
1
vote
0 answers

About some question to switch php version in MacOS

My system OS is MacOS10.13. The default PHP version is 7.1.16. I use phpbrew to manage the PHP version. And I installed the php5.6.When I use command phpbrew switch php5.6. Then I use the commandphp -v Then it outputs: PHP 5.6.30 (cli) (built: May…
1
vote
1 answer

Getting Symfony Doctrine Entity Manager within PHP Docker container / phpbrew for PHP 5.3.10

I'm trying to run a Symfony command under Docker with PHP 5.3.10. When I get to a line like class Data{ public function prepareData(){ echo 'before getContainer'; $em =…
Mchl
  • 1,023
  • 2
  • 19
  • 38
1
vote
1 answer

How to completely remove PHPBrew and reinstall regular PHP

I used PHPBrew for a while and now want to remove it completely for various reasons. How do I do that? Removing the ~/.phpbrew directory only is not sufficient. Even removing and reinstalling all PHP packages is not enough, since Apache still…
pixelbrackets
  • 956
  • 8
  • 24
1
vote
1 answer

How to inegrate ioncube(or another extenstion) into phpbrew php version?

I'm using phpbrew for switching between different versions of php. And now I can't install ioncube as php extension. What I have already done: Download from http://www.ioncube.com/loaders.php my version of extension (Linux 64 tar.gz v6.0.9 …
zey_ser
  • 85
  • 9
1
vote
1 answer

Can't use phpbrew with apache2 on Xubuntu 16.04. Installation of php versions are OK but source code printed and no PHP executed

I've got a problem to use phpbrew with my Xubuntu 16.04 x64 and apache2. I used it on xubuntu 14.04 without problem but now i'm really stuck :/ I will try to explain it with all informations needed. All went fluently during installation of each…
Siick
  • 361
  • 4
  • 20
1
2