Pasang ZMQ untuk PHP

wget http://download.zeromq.org/zeromq-4.1.0-rc1.tar.gz
tar -zxvf zeromq-4.1.0-rc1.tar.gz
cd zeromq-4.1.0
./Konfigurasi
membuat
membuat memasang

 

pecl install zmq-beta

 

Mencari php.ini :

php -i | grep ‘Configuration File

 

Check if extension was added:

cat /usr/local/lib/php.ini | grep zmq
Should show:
extension=zmq.so

Setup a phpinfo.php file containing code phpinfo() in that folder, to check if library is loaded.

 

If server has a firewall, this requires opening some ports in firewall for TCP. Ex: 5555, 8080. Check scripts like push-server.php .

Kajian saya

Borang kajian..

Ulasan

Memuatkan Ulasan....

Satu fikir"Pasang ZMQ untuk PHP”

Komen ditutup.