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…
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…
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…
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…
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,
…
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…
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 >>…
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…
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…
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…
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 =…
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…
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 …
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…