|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Some Fruity Question
Hiyaa fellas...
Anybody know how to install PEAR.. went to PHP.net, and there's a lot of explanation, but none of em on how to install this PEAR.. So can anybody explain.. or maybe show me a link.. since i consider myself as a noobie.. recently, i've been trying a lot of open source projects.. ya know.. things does explode once in a while.. most of them wont work.. coz i dunno much and im still learning.. ..and i happens to stumble upon PEAR.. I've checked some google search result and it says, "To make PEAR work on Windows, you simply need to add the PEAR installation dir (e.g. c: phppear) to the include_path directive in your php.ini." Does this mean i have to make a new Directory named PEAR? all help / explanation appreciated.. thanks in advanced.. Have a nice day.. -jassh |
|
#2
|
||||
|
||||
|
RE: Some Fruity Question
try http://pear.php.net If you havent already.
|
|
#3
|
||||
|
||||
|
RE: Some Fruity Question
|
|
#4
|
|||
|
|||
|
RE: Some Fruity Question
yes, your PEAR things have to be in a new directory, and the includes directory has to point to them to so that they can be referenced.
EDIT: errr, let me also add, that the install will create a directory, I dont believe ive ever had to create it myself, thats the one you add to your ini file for the directory includes. |
|
#5
|
||||
|
||||
|
RE: Some Fruity Question
ive never worked with pear so i wouldnt know. Ill probably start soon. (using pear that is)
|
|
#6
|
|||
|
|||
|
RE: Some Fruity Question
i am getting really frustrated over PEAR.
i get no errors when i use it so i assume database is connected. but it doesn't display the contents of my database at all. my site is hosted by network solutions and they dont show me the php.ini file so i have to use the shared hosting installation method, right? that's what i did now, how do i change the include path then? what is that all about John |
|
#7
|
||||
|
||||
|
RE: Some Fruity Question
PEAR is NOT a database interface. It is a repository for numerous classes - one of which is a database abstraction layer (translation: you have to write code to use the DB class - it doesn't run all by itself).
If you wish to use it interact with your database use the DB package (it comes with any basic install including one on a shared host). It's documentation has some good basic examples in the various introduction chapters. Reference: http://pear.php.net/manual/en/package.database.db.php |
|
#8
|
|||
|
|||
|
RE: Some Fruity Question
yeah, i used go-pear.php to install it on my website
im pretty sure PEAR DB is already there i made my own DBManager class and did the queries however, my page doesn't display any of the information retrieved from my database. i get no errors and none of my database connection error messages (this is driving me crazy) i would post my code here but there are like 5=7 files that i wrote. am i gunna get banned if i post that much? would you please take a look at my source if i post it? |
|
#9
|
|||
|
|||
|
RE: Some Fruity Question
my e-mail address is galbilover@hotmail.com if you can be so kind and help me one-to-one
|
|
#10
|
||||
|
||||
|
RE: Some Fruity Question
No - you won't be banned, but since we are now getting away from installation and into a specific package you may want to start a new thread.
Remember to be as specific as you can with the problem and only post the relevant code. We really do want to help. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > Some Fruity Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|