PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Oct 18, 2017 6:50 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: PHP database extension
PostPosted: Mon Mar 03, 2014 12:17 pm 
Offline
Forum Newbie

Joined: Mon Mar 03, 2014 12:10 pm
Posts: 2
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


Top
 Profile  
 
PostPosted: Mon Mar 03, 2014 12:35 pm 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6384
Location: Montreal, Canada
Code:
yum install php-mysql php-pdo

_________________
Supported PHP versions No longer supported versions


Top
 Profile  
 
PostPosted: Mon Mar 03, 2014 12:47 pm 
Offline
Forum Newbie

Joined: Mon Mar 03, 2014 12:10 pm
Posts: 2
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)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group