Php Mysqli Extension Is Missing Windows Root
Thanks Howard I initially installed it as part of, following the tutorial here: I did an update to php 7 somehow; I've done so much I can't remember how exactly I got to where I am. When I do 'php -v' I get the following: php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysqli.dll' - /usr/lib64/php/modules/php_mysqli.dll: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 7.0.17 (cli) (built: Mar 19 2017 14:34:58) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend TechnologiesI've searched for php_mysqli.dll but it's not on my server.
The mysqli extension is missing. Please check your PHP. Please check your PHP configuration, Windows 7. MYSQLI Extension Missing XAMPP for Windows. Essentially just needed to edit the php.ini file (mine was found at c: xampp php php.ini) and uncomment these lines.;extension=php_mysql.dll;extension=php_mysqli.dll;extension=php_pdo_mysql.dll After restarting apache all was working as expected. Your PHP installation appears to be missing the MySQL extension which is required by WordPress. Lrwxrwxrwx 1 root root 40 Nov 5 00:19 mysqli.so ->/opt/alt/php53/etc/percona5.5/mysqli.so lrwxrwxrwx 1 root root 39 Nov 5 00:19 mysql.so ->/opt/alt/php53/etc/percona5.5/mysql.so lrwxrwxrwx 1 root root.
The tutorial to which you referred is for LAMP. A.dll file is for Windows. The only way one's php.ini file would point to a.dll file is a php.ini file from Windows platform manually installed/edited.
Never seen that happen to the php.ini installed by the package managers for Linux. So whatever you might have done with PHP. The tutorial referenced. Unfortunately, tutorials that I can find would have to be adjusted to acquire PHP 7.0 or PHP 7.1 And, CentOS 7 will choose to install for it's default DB. While MariaDB is supposed to be a 'drop in replacement' for MySQL there's some slight differences + don't think there is anything in Moodle code that attempts to take advantage of anything MariaDB is doing. But, that's your choice. Have CentOS 7 servers running either but have to be careful on some about not inadvertently upgrading/changing the DB.
Think what you did was probably OK with the exception of PHP 7. So you could use the same tutorial. Keeping in mind the changes for PHP 7 - which has been provided in this thread. Tip: after you finish, there is a command that will help you re-call what commands you used. As root user: history will show all commands issued in order.
And, one can restrict the output of history to certain things, by piping history command through grep. Example: to find all commands one might have issued using yum: history grep yum If you get stuck, by all means come back here and let someone know!;) 'spirit of sharing', Ken. Noticed the comment about getting PHP 7 installed. Somehow - which suggest installation might be a little messed up. First, I'd erase the php ini file if you edited/uploaded it. Rm /etc/php.ini It will be recreated upon install of PHP.
Set up/install Webtatic repo rpm -Uvh rpm -Uvh Install php70w which will install from Webtatic repo (71 is available also) yum install php70w* --exclude=php70w-mysql Realize the first command above looks like it won't install what you want but it does. Conflict with mysqlnd is resolved by not installing the mysql. Ken, I took out a VPS account with contabo.com.
I can reinstall the operating system as I wish and choose between a few unix type op systems. I went with Centos 7 and webmin +lamp comes with it. So I started afresh earlier and have everything installed except Moodle. I have it uploaded and uncompressed, and all settings and files in place. When I try to install Moodle I get a message telling me that Moodle 3.2 or later requires at least PHP 5.6.5. I remember now that this is where my problems started before. I followed a tutorial on removing PHP and installing PHP 7.
So I'll not do that again. So I now just need to upgrade PHP I guess. Trying to make it easy for ya with the AMP option automatic it sounds like. Remanufactured Tools For Sale. Good they give you open sourced cPanel - Webmin. As that will help admin the server. They are installing 'stock' CentOS 7 it sounds like - which is why you get the PHP version you get. Still think it would be best to get PHP 7.
Even if from webtatic. The issue, me thinks, is you may not have un-installed all the dependencies with the php 5.4 you get which leads to issues. Pinnacle Studio 9 Pal Seriale more.
Will see if I cannot find a better tutorial. 'spirit of sharing', Ken.
Upgrading php to 5.6 is an option. Cept I think you'll still have to un-install the php 5.4 you have now. Install Webtatic repo which requires the install of epel repo as well - again: rpm -Uvh rpm -Uvh Webtatic does have php 5.6. php56w.x86_64 5.6.30-1.w7 webtatic If that's what you opt to do, then the same command shared above for 70w would work *IF* you substitute 56w in place of 70w. After erasing php 5.4.x and all it's dependencies extensions, then install php5.6 from Webtatic: yum install php56w* --exclude=php56w-mysql Might want to restart apache service so it picks up on changes to PHP version.