You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The buildJavaInc.php is silently failing with with PHP7+ versions.
The Java.inc client is not required to run the php-java-bridge, but the current ant build process still requires it. It's gonna be replaced in the future by the the soluble-japha client and should not be included anymore.
Still for the current version, those fixes are temporarily needed:
The ant building process should fail with a message for PHP7+ versions.
Document how to install multiple php versions (see below)
The ant build.xml contains a php_exec property that you can use to select the required php executable. For example:
$ ant build -Dphp_exec=/usr/bin/php5.6
Tips to install pre-php7 version on Ubuntu:
In many distributions, multiple PHP versions can coexists: on Ubuntu for example, you can install a ppa
The buildJavaInc.php is silently failing with with PHP7+ versions.
The
Java.inc
client is not required to run the php-java-bridge, but the current ant build process still requires it. It's gonna be replaced in the future by the the soluble-japha client and should not be included anymore.Still for the current version, those fixes are temporarily needed:
build.xml
contains aphp_exec
property that you can use to select the required php executable. For example:$ ant build -Dphp_exec=/usr/bin/php5.6
Tips to install pre-php7 version on Ubuntu:
In many distributions, multiple PHP versions can coexists: on Ubuntu for example, you can install a ppa
Then install a different php interpreter:
sudo apt-get install php5.6-cli php5.6-mbstring php5.6-zip php5.6-intl php5.6-common php5.6-xml
Once done, run you ant build with
$ ant build -Dphp_exec=/usr/bin/php5.6
The text was updated successfully, but these errors were encountered: