Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PEAR pressure :)

Status
Not open for further replies.

KarterJK

Programmer
May 11, 2004
27
0
0
US
Hello to all,
I must be absolutely stupid, but I get so confused about the usage of PEAR...I run a windows machine, so information about install, etc.. is at best vague...

just a couple of questions if anyone has the answers

1. basically as long as i have the pear path example
C:\php4\pear set in my php.ini and enviroment and of course all of the files in that directory.
Then it is installed correct?

assuming the answer is yes...
2. then to load a module it is basically just a php file that I add to my include directory?

3. then to use the module...I then, need to add the following on the php page (file) I was writing, correct?
require once(pear.php)
require once(module_name.php)
.. and any other required files

Is that basically how it all works???

Appreciate any confirmation or explanation
Don
PDX Oegon
 
Yes, you are doing all things correct. But if you are having problems with the paths use the full path in your code itself not in the INI and try.

Regards
Satish
 
No that was all I wanted to make sure of...
I thought that was correct...

Thanks for the confirmation
Don
PDX Oregon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top