e-Padi.com | Web Hosting Murah Indonesia
Solusi Web Hosting Murah Indonesia | Web Hosting Terbaik di Aceh
24 hours Customer Support
Login Member Area

Hosting support pdo_mysql extension on PHP module and how to install

By on January 6, 2011

e-Padi.com Hosting Murah supported PDO_MYSQL extension.
The PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. Each database driver that implements the PDO interface can expose database-specific features as regular extension functions. Note that you cannot perform any database functions using the PDO extension by itself; you must use a database-specific PDO driver to access a database server.

PDO_MYSQL is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to MySQL 3.x and 4.x databases.

PDO ships with PHP 5.1, and is available as a PECL extension for PHP 5.0; PDO requires the new OO features in the core of PHP 5, and so will not run with earlier versions of PHP.

How to install it on your server?
Following this steps:
1) Download from : root@ns1.e-padi.com [~]# wget https://e-padi.com/download/PDO-1.0.3.tgz

2) Manually build and install the PDO extension:
root@ns1.e-padi.com [~]# tar xzf PDO-0.2.tgz
root@ns1.e-padi.com [~]# cd PDO-0.2
root@ns1.e-padi.com [~]# phpize
root@ns1.e-padi.com [~]# ./configure
root@ns1.e-padi.com [~]# make
root@ns1.e-padi.com [~]# make install
root@ns1.e-padi.com [~]# echo extension=pdo.so >> /usr/local/lib/php.ini

3) Rebuild PHP along with the drivers for PDO_mysql.
CUSTOM_PHP_FLAGS=”–with-pdo-mysql” /scripts/easyapache

4) check php module using command : root@ns1.e-padi.com [~]# php -m

e-Padi.com adalah badan usaha resmi bernama cv.e-Padi Corporation, dibentuk pada September 2004 yang fokus pada bidang Hosting Murah, Domain Name, VPS, Dedicated Server, Managed Server, Web Development, dan Radio Streaming. e-Padi.com terus berinovasi dan berkembang dalam memberikan jasa / produk yang di tawarkan.

Leave a Reply

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

Phone Line : +62-651-8070141
Mobile/SMS/WA : +62-811682661
e-Mail : zall@e-padi.com
Alamat   Klik Disini