How to install gnupg in xampp server in windows - php

I want to install gnupg module in windows xampp server.I have read and research all installation related link but I didn't get for windows installation.Does any one have an idea how to install it in xampp server.Please
give proper installation steps to install

Related

Install MongoDB PHP Extension for PHP 8.1 (Debian)

sorry if there is a duplicate question for this but I'm trying to set this up for hours now and it just doesn't work.
I have a Debian 11 server with "KeyHelp" installed on it (little brother of plesk). It comes with PHP 7.4 but provides a simple Dashboard where you can install other PHP versions. I installed PHP 8.1 and tried to install the mongodb extension via PECL.
After "pecl install mongodb" I added "extension=mongodb.so" and after that didn't show up the extension on the phpinfo page, I double checked if the extension is really in the extension folder of php, where it was.
Turns out that I installed the extension for PHP 7.4 and not for PHP 8.1. Finally I tried to force PECL to install it for PHP 8.1 but it says "phpize8.1 command not found". I found no way to install phpize8.1, can somebody help me out with that?
Thanks in advance!
I am using Ubuntu 20.04
I have PHP 8.1 version. You have to install modules of PHP
sudo apt install php8.1-mongodb
List the modules
php -m
It's not exactly Debian. I hope it helps you.
If you run command:
sudo apt install php-dev
System will install automatically the correct version of php{x}-dev for your distribution, and all it's dependencies, included PECL.
another way is try to run:
/usr/bin/phpize
If this command works, you need to add phpize to your PATH:
PATH=$PATH\:/usr/bin; export PATH
In this way phpize will work in future.

Linux / Ubuntu cannot find JVM

I'm trying to install Netbeans to learn PHP.
I chose the all option from here
https://netbeans.org/downloads/index.html>
And when I tried installing it on terminal, it said I needed JDK 7. After downloading and installing JDK 7 from
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
I tried to install netbeans again and it gave me the same message; that JDK is not installed and I need to install it.
What should I do to get netbeans to isntall?
Did you try using the Package manager? You should already have a JRE installed by default, but you should be able to use:
sudo apt-get install openjdk-7-jdk
To verify that you actually installed Java on your system you can try:
java -version
Once you have that you should be able to run netbeans by using the netbeans.sh script in the bin/ of the netbeans download. If I remember correctly it doesn't really install anything, just runs from there.

how to install lamp/xampp server on beaglebone black

i am unable to install lamp or xampp server on my BBB.when i typed
sudo apt-get install apache2
it says "sudo :command not found"
opkg install php php-cgi php-cli
opkg install lighttpd lighttpd-module-fastcgi
opkg install mysql5
also the above commands do not work.The error says "unknown package ..."
Basically i am trying to develop a webserver which over the internet can be accessed to control hardware interfaced to BBB.
is there any way to solve this problem.I am using only usb connection to connect BBB using putty.
If you are using an Angstrom Distribution apache may not work. It freezes in between installation. Try upgrading to Ubuntu or Debian. Previous versions of BBB had very low memory (2GB) of which 1.5GB was taken by the OS. So try expanding it using a micro-SD card.
And it is a good practice to always update and upgrade your OS before installing any software.
sudo apt-get update && apt-get upgrade

Install PECL Oauth MAMP OSX 10.8

I am trying to install the PECL Oauth extension on OSX 10.8 with MAMP version 2.1.3. This version of MAMP has PHP 5.4.10 and 5.2.17 with it, I have already added the stuff to the include folder of 5.2.17 and run the ./configure. Although when I go to run
cd /Applications/MAMP/bin/php/php5.2.17/bin; ./pecl install oauth
I get
downloading oauth-1.2.3.tgz ...
Could not download from "http://pecl.php.net/get/oauth-1.2.3.tgz", cannot download "pecl/oauth" (could not open /tmp/pear/install/oauth-1.2.3.tgz for writing)
Error: cannot download "pecl/oauth"
Download failed
install failed
Now I am not 100% sure that MAMP is using the 5.2.17 version of PHP, I have changed it in the apache httpd.conf file and when I look at the phpinfo page in MAMP it shows up as using version 5.2.17 so I do not think this is the issue.

MongoDB PHP driver can't installed Centos 6 cloud server

I have installed MongoDB service in my Centos 6 cloud server. Now i need to install in my server php-pecl-mongo-1.2.10-1.el6.remi.x86_64.rpm... but it gives "packages not found". Can anyone fix this problem? My php version is PHP 5.3.3.
I am using putty for configuring Centos 6 server. I have admin privilege to configure php.ini.
You could:
try RPM installing php-pecl-mongo without a specific version
point to a specific RPM url for installation, eg. using rpmfind.net => php-pecl-mongo
install using sudo pecl install mongo per the Unix installation instructions

Categories