[opensuse] LAMP Setup Issue.
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
participants (1)
-
Cornelius Franken