Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How php7 installs stomp extensions

2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article introduces php7 how to install stomp extension, the content is very detailed, interested friends can refer to, hope to be helpful to you. Php7 install stomp extension method: 1, download stomp expansion package; 2, through "yum install" for compilation and installation; 3, modify php.ini, add "stomp.so"; 4, restart PHP.

This article operating environment: linux5.9.8 system, stomp2.0.1 version, Dell G3 computer.

How does php7 install the stomp extension?

Php7 compilation and installation of stomp extension

1. Download the stomp expansion pack # cd / home#wget http://pecl.php.net/get/stomp-2.0.1.tgz2. Compilation and installation

Phpize reports Cannot find autoconf Please install autoconf and then execute yum install M4 and yum install autoconf

# tar zxf stomp-2.0.1.tgz#cd stomp-2.0.1#/usr/local/php/bin/phpize#./configure-- with-php-config=/usr/local/php/bin/php-config where php-config and phpize are in the same directory. If the php-config path is not above, for example, I use / usr/bin/phpize above, then I use: #. / configure-- with-php-config=/usr/bin/php-config#make#make install3. Modify php.ini

Please view the ini file location through phpinfo ()

# vim / usr/local/php/lib/php.ini add line: extension= "/ usr/local/php/lib/php/extensions/no-debug-non-zts-20151012/stomp.so" restart PHP#systemctl restart php-fpm so much about how php7 installs the stomp extension. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report