minor #30057 New extensions were released supporting PHP 7.3 (tvlooy)
This PR was merged into the 4.2 branch.
Discussion
----------
New extensions were released supporting PHP 7.3
| Q | A
| ------------- | ---
| Branch? | 4.2
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | see travis
| License | MIT
Requested in #30030
Commits
-------
31de71d216
New extensions were released supporting PHP 7.3
This commit is contained in:
commit
ba54881dc8
21
.travis.yml
21
.travis.yml
@ -13,7 +13,6 @@ addons:
|
|||||||
- slapd
|
- slapd
|
||||||
- zookeeperd
|
- zookeeperd
|
||||||
- libzookeeper-mt-dev
|
- libzookeeper-mt-dev
|
||||||
- libsasl2-dev
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
@ -50,6 +49,7 @@ before_install:
|
|||||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157
|
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157
|
||||||
sudo add-apt-repository -y ppa:ondrej/php
|
sudo add-apt-repository -y ppa:ondrej/php
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
sudo apt install -y librabbitmq-dev libsodium-dev
|
||||||
|
|
||||||
- |
|
- |
|
||||||
# Start Redis cluster
|
# Start Redis cluster
|
||||||
@ -153,8 +153,6 @@ before_install:
|
|||||||
phpenv global $PHP
|
phpenv global $PHP
|
||||||
INI=~/.phpenv/versions/$PHP/etc/conf.d/travis.ini
|
INI=~/.phpenv/versions/$PHP/etc/conf.d/travis.ini
|
||||||
if ! php --ri sodium > /dev/null; then
|
if ! php --ri sodium > /dev/null; then
|
||||||
# install libsodium
|
|
||||||
sudo apt-get install libsodium-dev -y
|
|
||||||
tfold ext.libsodium tpecl libsodium sodium.so $INI
|
tfold ext.libsodium tpecl libsodium sodium.so $INI
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -163,22 +161,7 @@ before_install:
|
|||||||
tfold ext.igbinary tpecl igbinary-2.0.8 igbinary.so $INI
|
tfold ext.igbinary tpecl igbinary-2.0.8 igbinary.so $INI
|
||||||
tfold ext.zookeeper tpecl zookeeper-0.6.0 zookeeper.so $INI
|
tfold ext.zookeeper tpecl zookeeper-0.6.0 zookeeper.so $INI
|
||||||
|
|
||||||
if [[ $PHP != 7.3 ]]; then
|
tfold ext.amqp tpecl amqp-1.9.4 amqp.so $INI
|
||||||
wget http://ftp.debian.org/debian/pool/main/libr/librabbitmq/librabbitmq-dev_0.5.2-2_amd64.deb
|
|
||||||
wget http://ftp.debian.org/debian/pool/main/libr/librabbitmq/librabbitmq1_0.5.2-2_amd64.deb
|
|
||||||
sudo dpkg -i librabbitmq1_0.5.2-2_amd64.deb librabbitmq-dev_0.5.2-2_amd64.deb
|
|
||||||
tfold ext.amqp tpecl amqp-1.9.3 amqp.so $INI
|
|
||||||
else
|
|
||||||
sudo apt install -y librabbitmq-dev
|
|
||||||
git clone https://github.com/pdezwart/php-amqp.git
|
|
||||||
cd php-amqp
|
|
||||||
phpize
|
|
||||||
./configure
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
cd -
|
|
||||||
echo extension = amqp.so >> $INI
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
- |
|
- |
|
||||||
|
Reference in New Issue
Block a user