PHP PEAR 5 including MDB2_driver_mysql, Mail and Mail_Mime

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
CyberJet
Forum Newbie
Posts: 2
Joined: Wed Dec 10, 2008 1:32 pm

PHP PEAR 5 including MDB2_driver_mysql, Mail and Mail_Mime

Post by CyberJet »

Greetings to All,


I need to install this: PHP PEAR 5 including MDB2_driver_mysql, Mail and Mail_Mime. Is there a package in FC9 that contains this.

Please help me understand the differences between:

php-pear-MDB2-Driver-mysql-1.4.1-3.fc9.src.rpm
php-pear-MDB2-Driver-mysqli-1.4.1-3.fc9.src.rpm

Thanks in Advance,

Ramon
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: PHP PEAR 5 including MDB2_driver_mysql, Mail and Mail_Mime

Post by Chris Corbyn »

Just install the standard PHP and get the rest via the pear command. PEAR is a package repository in itself so you can do things like "pear install <package>" to download and install the files to your include_path.

MySQL and MySQLi both interface with MySQL, but MySQLi makes use of more API feature such as parameter binding. If you're just starting out I'd strongly advise using PDO (or ADODB if you're already familiar with that) over either of these two since they offer a certain amount of abstraction when it comes to alternate DB drivers. PDO is not an abstraction layer in terms of processing SQL, but it is an abstraction in terms of the API used to execute queries against the backend database (which is a good thing).
CyberJet
Forum Newbie
Posts: 2
Joined: Wed Dec 10, 2008 1:32 pm

Re: PHP PEAR 5 including MDB2_driver_mysql, Mail and Mail_Mime

Post by CyberJet »

Thanks! I'm new to this. I need to install these programs because they are a requirement for HylaFAX server and I'm trying to learn in the process.

Kind Regards,

Ramon
Post Reply