Hi All
Well I had a look at all my installed modules. I have all the pear packages installed on the distribution DVD of 10.3 that I got with the book opensuse unleashed. However I did discover that the DB.php package has been deprecated and replaced by the MDB2 interface. The theory at the moment is that the DB.php is not included anymore though you can download it and use it. I will modify the code snippets tonight and change it to use the MDB2 interface and well maybe I am on the right track here.
Regards
Neil
PS thanks to MS VISTA I am now using Linux.
________________________________________
From: member fxrsliberty [mailto:fxrsliberty@opensuse.us]
Sent: 08 May 2008 05:02 PM
To: Cornelius Franken
Cc: opensuse Linux
Subject: Re: [opensuse] LAMP Setup Issue.
On Thu, May 8, 2008 at 10:56 AM, member fxrsliberty wrote:
Did you insure that you have "PEAR_Mod" (not sure of exact name) installed?
as far as I know these PHP support modules for Apache are all separate RPM's.
On Thu, May 8, 2008 at 5:12 AM, Cornelius Franken wrote:
Hi Guys
Last night while playing my pet project which uses the Lamp setup I was
ran into a problem. I was working through some examples from the MySQL
cookbook (O'Reilly publication) on how to connect to MySQL from a php
page.
The book is using the PEAR package and when I tried the example I got a
error that it could not find the DB.php file. Basically the book uses
the msqli methods instead of the mysql methods. However when the PHP
interpreter hits the line require_once "DB.php" it states it cannot find
this file. I did a find and locate and could not find this file on my
box.
So anyway I tried a example from the book Setting UP LAMP. Using the
mysql methods such as mysql_connect I could access the database and
display my results on the page. Now I would really like to use the
mysqli methods as I am planning to try all sorts of experiments with the
LAMP setup. From what I understand the mysqli interfaces is much better
to use if you are going for advanced SQL type of functionality.
Anyway my main problem is how can I get this PEAR extension to work. I
looked at Yast and search for the PEAR package I have all the pear
packages installed but they don't seem to be the DB packages.
Can someone shed some light?
Regards
Neil
-----------------------------------------
Engen Petroleum Limited, disclaims liability for any loss, damage
or expense however caused, arising from the sending, receipt, or
use of this e-mail and on any reliance placed upon the information
provided through this service and does not guarantee the
completeness or accuracy of the information. Please visit
http://www.engen.co.za/home/server/common/disclaimer.asp to view
the full disclaimer.
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org