Hướng dẫn php gnupg.dll for windows
I want to use PGP in my PHP project, using XAMPP on Windows. Show Nội dung chính
When I run this code:
I get an error message telling me that I have to install the GNUPG extension in my Apache server. How do I install GNUPG for XAMPP on Windows? I only found solutions for Linux. janw 7,4969 gold badges34 silver badges56 bronze badges asked Dec 9, 2017 at 13:05 As per the official php-gnupg repository, there's no extension for Windows yet.
answered May 20, 2021 at 8:18 Not the answer you're looking for? Browse other questions tagged php apache xampp gnupg openpgp or ask your own question.PHP GnuPGThe php-gnupg is a wrapper for GpgME library that provides access to GnuPG. InstallationLinuxBefore starting with installation of this extensions, the Of course PHP has to be installed too. The minimal version that is supported is 5.3.2. PECLThis extension is available on PECL.
Manual InstallationIt's important to have a git installed as it's necessary for recursive fetch of phpc. First clone recursively the repository
Then go to the created directory and compile the extension. The PHP development package has to be installed (command
Finally the following line needs to be added to or for PHP 8+ it's just WindowsThe extension is not currently supported on Windows due to unavailable GpgME library builds that would be supported by PHP. DocumentationThe extension documentation is now available in the PHP-Manual: http://php.net/manual/en/book.gnupg.php Mahbub Kabir ¶ 8 years ago
Dominik Sommer ¶ 9 years ago
frozenfire at php dot net ¶ 10 years ago
Mr T ¶ 9 months ago
mk at wintermute dot at ¶ 13 years ago
Jane Doe ¶ 9 years ago
Heath ¶ 11 years ago
sma dot azar at gmail dot com ¶ 13 years ago
Does GnuPG work on Windows?You can get GnuPG (also known as GPG) on Windows by downloading the small installer from the GnuPG download page. Click on download next to “Simple installer for GnuPG modern” which will download the GPG installer. How do I download GnuPG on Windows?Go to the GnuPG website to download the software: https://gnupg.org/download/index.html. Scroll to GnuPG Binary Releases. For the Windows OS, select the Download Sig link either for Simple Installer for the Current GnuPG or Simple Installer for GnuPG 1.4. Select Run and follow the steps to install the software. What is GnuPG package?GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP). GnuPG allows you to encrypt and sign your data and communications; it features a versatile key management system, along with access modules for all kinds of public key directories. |