One Hat Cyber Team
Your IP :
216.73.216.135
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
remi
/
php56
/
root
/
usr
/
share
/
doc
/
pecl
/
gnupg
/
Edit File:
README.md
# PHP GnuPG The php-gnupg is a wrapper for GpgME library that provides access to GnuPG. ## Installation ### Linux Before starting with installation of this extensions, the `GpgME` library has to be installed. It has got installation packages on the most Linux distributions. The minimal version of GpgME that is supported is 1.3.0. The extension supports GnuPG version 1 and 2. Of course PHP has to be installed too. The minimal version that is supported is 5.3.2. #### PECL This extension is available on PECL. ``` $ sudo pecl install gnupg ``` #### Manual Installation It's important to have a git installed as it's necessary for recursive fetch of [phpc](https://github.com/bukka/phpc). First clone recursively the repository ``` git clone --recursive https://github.com/php-gnupg/php-gnupg.git ``` Then go to the created directory and compile the extension. The PHP development package has to be installed (command `phpize` must be available). ``` cd php-gnupg phpize ./configure make sudo make install ``` Finally the following line needs to be added to `php.ini` ``` extension=gnupg.so ``` or for PHP 8+ it's just ``` extension=gnupg ``` ### Windows The extension is not currently supported on Windows due to unavailable GpgME library builds that would be supported by PHP. ## Documentation The extension documentation is now available in the PHP-Manual: http://php.net/manual/en/book.gnupg.php
Simpan