Extension shows in phpinfo(), but extension_loaded() fails - php

I'm trying to get mcrypt php extension to work.
Getting the following error when installing tinyissue:
Installation
Please install all required extensions
mcrypt extension not found.
The extension shows fine in phpinfo(), but the extension_loaded('mcrypt') test by tinyissue is failing.
This is on ubuntu, so mcrypt was installed using apt-get install php5-mcrypt and /etc/php5/conf.d/mcrypt.ini exists.

Related

XAMPP intl problem on mac Catalina version10.15.1

I have tried installing using pecl command but still getting the same issue. Enabled the extension in the php.ini but again of new use
Unable to load dynamic library '/usr/local/Cellar/php70-intl/7.0.27_24/intl.so'
I am trying to install CakePHP. PHP version is 7.2 and intl present on mac /usr/local/Cellar/php70-intl . Please help me with the same. I have tried almost everything.
brew install icu4c
root$: sudo pecl update-channels
root$: sudo pecl install intl
tried everything mentioned above but still of no use

How to install the OpenCensus extension with PECL on PHP

Following the instructions (here: https://github.com/census-instrumentation/opencensus-php) I am unable to install the OpenCensus extension for PHP using PECL.
I have tried installing other PECL extensions, which worked fine.
I have also tried doing this from a VPN.
The install steps I tried are:
Install the opencensus/opencensus package using composer:
$ composer require opencensus/opencensus:~0.2
IMPORTANT: Please ensure your version is >= 0.2.0. There is a potential security vulnerability in < 0.2.0.
Install the opencensus extension from PECL:
$ pecl install opencensus-alpha
The error I get is:
No releases available for package "pecl.php.net/opencensus" install failed"
See also: https://prnt.sc/nnt5er

PHPMyAdmin The mbstring PHP extension was not found

PhpMyAdmin is reporting that mbstring isn't installed. I am using PHP 7.1 on Centos 7.
First i ran: yum search mbstring and found the package for php 7.1 is: php71-php-mbstring.x86_64
I then ran: yum install yum install php71-php-mbstring.x86_64
Everything seems to have installed fine but phpmyadmin is still saying mbstring isn't available and phpinfo() also shows it's not enabled.

Howto ubuntu 18.04 install / activate PHP extension ext-mcrypt

I am installing a fresh kubuntu system 18.04, which is using by default php7.2
A composer install for my current software project gibves me this error message:
The requested PHP extension ext-mcrypt * is missing from your system.
Install or enable PHP's mcrypt extension.
Other than before there is no php-mcrypt available and other articles like this http://aryo.lecture.ub.ac.id/easy-install-php-mcrypt-extension-on-ubuntu-linux/ don't help since an analog php-mcrypt or php7-mcrypt does not exists.
How can I get a setup, which fulfills my requirement?
sudo apt-get install php7.2-ext-mcrypt
does not find an installation candidate.
Is there a difference between php 7.1 and 7.2?
not surprisingly this also does not do the trick:
$ sudo phpenmod mcrypt
WARNING: Module mcrypt ini file doesn't exist under /etc/php/7.2/mods-available
WARNING: Module mcrypt ini file doesn't exist under /etc/php/7.2/mods-available
So it looks like mcrypt is deprecated with php7.2
So I will either have to replace it in my software or follow e.g. this howto to circumvent it:
https://serverpilot.io/community/articles/how-to-install-the-php-mcrypt-extension.html

issue with php 5.4.23 in intl extension installation

I have PHP 5.4.23 on my CentOS with Nginx as webserver
and I am trying to install php-intl extension
I ran below command
# yum --enablerepo=remi install php-intl
It ran successfully but still my phpinfo don't show this extension...
please help

Categories