When installing the Laravel frame using composer, the system prompts that OpenSSL support is not turned on.After the php.ini opened the OpenSSL but still not, and later ran Phpinfo () foundThe OpenSSL extension is not installed at all, using php-i
Upgrade the OpenSSL version to version 1.0.2l for exampleHere's how:1. Download the latest version of the OpenSSL source packagewget ftp://ftp.openssl.org/source/openssl-1.0.2l.tar.gzhttps://www.openssl.org/source/2. Installing OpenSSL1) TAR–XZVF
OpenSSL is an open source SSL implementation. The simplest and most important application based on the OpenSSL directive is to use Req, CAs, and X509 to issue a certificate.OpenSSL provides command-line options and interactive two ways to perform
The phpizephpize command is used to prepare the compiling environment of the PHP extension library. In the following example, the source program of the extension library is located in the extname Directory: $ cdextname $ phpize $. configure $ make #
Most of the time, the OpenSSL component is used, the following is a description of Linux under the PHP installation OpenSSL extension:
Install the OpenSSL component, the general PHP installation directory has many extension components of
PhpizeThe Phpize command is used to prepare the compilation environment for the PHP Extension library. In the following example, the source program for the extension library is in the Extname directory:
1 2 3) 4 5
$ cd extname $
PHP openssl encryption extension usage Summary (recommended), openssl Summary
Introduction
In the history of Internet development, security has always been a topic that developers pay great attention to. To ensure data transmission security, we need
PHP code # below is the php installation directory usrlocalphp5.3.8bin # Switch to the php installation directory etxopenssl directory cdphp-5.3.8extopenssl # view the openssl directory under a config0.m4, The config0.m4 renamed config. m4. Cpconfig0
This time to everyone to bring PHP does not compile installation OpenSSL extension implementation, PHP does not compile installation of the OpenSSL extension of the attention to what, the following is the actual case, together to see.
When using
When you debug the program today, you are prompted to enable openssl. In most cases, openssl is not enabled. To enable openssl, You need to perform simple settings.
When you debug the program today, you are prompted to enable openssl. In most cases,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.