I've installed php5-mysqlnd via:
apt-get install php5-mysqlnd
This is a brand new virgin Debian install with just apache2 and php5 via:
apt-get install apache2
echo "deb http://http.us.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list
apt-get update
apt-get install php5 php5-dev php5-cli libapache2-mod-php5 php5-mysqlnd
When I do a phpinfo() it shows that mysq
I'm deploying a new web server and I’m wondering what is preferred/recommended method for PHP to MySQL connections: mysqlnd or libmysql
MySQL recommends using the mysqlnd but I found this article and apparently with APC enabled libmysql can handle more r/s than mysqlnd
Hi,
I get the following error
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mysqlnd.so' - /usr/lib/php5/20090626+lfs/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
When I run the following script:
Code:
<?
$conn = new mysqli("localhost", "root", "password"
Except that I can connect to the database from the mysql client version 5.5.30 on same box, just not from mysqlnd version 5.0.10 in php on that box.
I have a centos 6.2 box loaded the phpMyAdmin then I get missing mysqli then I yum install php-mysqli then I got to /etc/php.ini and put localhost under mysqli option for the host. So did I do the steps correctly? Now it gives my mcrpyt is missing? So what must I do please help ? I have tried yum install php-mcrypt but nothings to install is the message.
Here is the error I get when trying to open my phpmyadmin directory:
phpMyAdmin - Error
The mysqli extension is missing.
i am using microsoft azure virtual mashine with Linux Suse edition.
i install all lamp package and the server is working and loading pages.
but there is a problem with the mysqli.
i understand that i need to enable it in the extenstion of the php.ini
on my server it is located on
/etc/php5/apache2/php.ini
/etc/php5/cli/php.ini
but there is no extenstion section on those files.
please help, ho
I used to had my website hosted at a hosting company. But i decided to start my own webserver and in order to get phpBB, MediaWiki, etc. working i need PHP and MySQL. So after a bit of screwing around i could get those working but the MySQL and MySQLi extensions do not seem to work. When i use phpMyAdmin, phpBB, whatever it would say it is not installed correctly.
phpinfo says the file location is /etc/php5/fpm/php.ini.
Additional .ini files parsed /etc/php5/fpm/conf.d/curl.ini, /etc/php5/fpm/conf.d/gd.ini, /etc/php5/fpm/conf.d/mcrypt.ini, /etc/php5/fpm/conf.d/mysql.ini, /etc/php5/fpm/conf.d/mysqli.ini, /etc/php5/fpm/conf.d/pdo.ini, /etc/php5/fpm/conf.d/pdo_mysql.ini, /etc/php5/fpm/conf.d/xcache.ini
Looking in them none of them have anything that deal