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.
Related
I had a server set up with the following installed and running:
Ubuntu 20.04
NGINX 1.17.10
PHP 7.4.5
The PHP installation does have the PDO SQLSRV driver installed and working properly.
I needed to add PHP 5.6 to the same server for an older web site. I was able to successfully install PHP 5.6. but I can't seem to get the SQLSRV driver part to install properly.
I had previously installed the mssql tools on the server when setting up PHP 7.4:
apt-get install msodbcsql17 -y
apt-get install mssql-tools
apt install unixodbc-dev
pecl install sqlsrv
pecl install pdo_sqlsrv
In trying to set it up for 5.6, I did follow the steps for the original install. I ran the following commands:
printf "; priority=20\nextension=sqlsrv.so\n" > /etc/php/5.6/mods-available/sqlsrv.ini
printf "; priority=30\nextension=pdo_sqlsrv.so\n" > /etc/php/5.6/mods-available/pdo_sqlsrv.ini
phpenmod -v 5.6 sqlsrv pdo_sqlsrv
pecl config-set php_ini /etc/php/5.6/fpm/php.ini
ls /etc/php/5.6/fpm/conf.d/*sqlsrv.ini
All commands ran successfully. I then added the following lines to the relevant php.ini file /etc/php/5.6/fpm/php.ini
extension=sqlsrv.so
extension=pdo_sqlsrv.so
I reloaded and restarted php5.6-fpm and then restarted NGINX. PHP 5.6 is successfully installed and I can see the info by running phpinfo(). I got no errors during installation. However, under PDO, PDO Drivers is showing no value. I also confirmed that sqlsrv_connect is not recognized.
I know it would be ideal not to have multiple versions of PHP or to have installed them at separate times, but I didn't have a choice on this project. Do I need to install a separate version of sqlsrv and pdo_sqlsrv on the box, or am I just missing something in the installation?
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
I have laravel 5.3 site running on digitalocean with Ubunto 14.
I get this error when running composer to install a package:
"the requested PHP extension mbstring is missing from your system."
The thing is, it is already enabled, as confirmed by phpinfo:
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
HTTP input encoding translation disabled
libmbfl version 1.3.2
oniguruma version 5.9.6
Since I have php7.0 running, for kicks I tried
sudo apt-get install php7.0-mbstring
But it tells me
php7.0-mbstring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Really at a loss here. Ideas? Maybe I need to reinstall PHP? Where is composer looking to see if the extension is installed? Why would it n0t be seeing same info that phpinfo returns?
Thanks,
Brian
Basically, you need to install php-mbstring in your server.
sudo apt-get install php-mbstring
You need to install the specific php version using :
sudo apt-get install phpx.x-mbstring
Hope this works!!
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.
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