Tutorials

PHP :: Compile MySQLi Extension in PHP 5.3.1

:: What is MySQLi
The MySQLi Extension (MySQL Improved) is a relational database driver used in the PHP programming language to provide an interface with MySQL databases.

 
:: How to compile MySQLi Extension in PHP

cd /usr/local/src/php-5.3.1/
./configure --with-mysqli=mysqlnd --with-ndo-mysql=mysqlnd --with-mysql ...another..options..
make && make install

 
:: Checking MySQLi in PHP modules

php -m | grep mysqli
mysqli

 
:: Restarting httpd

apachectl stop
apachectl start

 
:: Links
+ Google
+ PHP

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *