I'm doing some web pages to refresh knowledge and hobbie, however, when I copied all the files from my pc (windows 7) where I did tests to a server linux centos shows me the following error:
Fatal error: Call to undefined function mysqli_connect () in /var/www/html/Outsourcing/conecta_mysql.php on line 11
It does not hurt to indicate that in my test environment (my PC) it works, and that's why I uploaded it to Linux.
My php.ini has the following info:
Build Date: Mar 7 2018 13:35:39 Server API: Apache 2.0 Handler Virtual Directory Support: disabled Configuration File (php.ini): Path / etc Loaded Configuration File: /etc/php.ini
Version:
[root @ localhost ~] # php -v PHP 5.4.16 (cli) (built: Mar 7 2018 13:34:47) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
I hope you can help me.
Thank you.