Hi All,
I have a server running Redhat 5.7 and on that php is installed. I need to install PHP database extension((MySQL, MySQLi, or PDO for MySQL) on that. Could anyone guide me how to do it.
php -version
PHP 5.1.6 (cli) (built: Nov 13 2010 16:05:12)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
Thanks
PHP database extension
Moderator: General Moderators
Re: PHP database extension
Code: Select all
yum install php-mysql php-pdo-
chetansingh23
- Forum Newbie
- Posts: 2
- Joined: Mon Mar 03, 2014 11:10 am
Re: PHP database extension
I don't have yum configured on the server and it is there is no support of it from Redhat, I am not sure which all rpm to download from net and install it. I did googled out and find below. Could anyone confirm me if the below can be used or not.
http://www.rpmfind.net//linux/RPM/sourc ... 86_64.html
The package includes a dynamic shared object (DSO) that can
be compiled in to the Web server to add MySQL database
support to PHP.
Provides
php-mysql
mysql.so()(64bit)
pdo_mysql.so()(64bit)
php-mysql(x86-64)
http://www.rpmfind.net//linux/RPM/sourc ... 86_64.html
The package includes a dynamic shared object (DSO) that can
be compiled in to the Web server to add MySQL database
support to PHP.
Provides
php-mysql
mysql.so()(64bit)
pdo_mysql.so()(64bit)
php-mysql(x86-64)