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

Explanation of the method of installing OpenSSL extension of PHP under linux Environment

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Install the dependency package first: yum install openssl openssl-devel

Go to the OpenSSL folder in the PHP installation package, depending on the location of the individual installation package, here is

Cd / home/local/php.5.6.25/ext/openssl/

Phpize

There may be an error: Cannot find config.m4.

Make sure that you run / usr/local/bin/phpize in the top level source directory of the module

Execute under the current directory: mv config0.m4 config.m4

Re-phpize

. / configure-- with-php-config=/usr/local/php/bin/php-config (path to the php-config file)

Make

Make install

Copy openssl.so to the PHP extension folder

Modify extesion=openssl.so in php.ini

The above article on how to install PHP's OpenSSL extension in linux environment is all the content shared by the editor. I hope I can give you a reference and support it.

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

Servers

Wechat

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

12
Report