Php Pear

admin

Administrator
Staff member
Im trying to use some scripts that are PHP and are part of PEAR, yet it dosnt seem to work, I'm thinking that PEAR isnt on the servers. ( <a href="http://pear.php.net" target="_blank">http://pear.php.net</a> ) Im just wondering if its not on for a reason or if there is a way that I can use it with out having it on all accounts or what not.<!--content-->
Hi Luke.<br /><br />PEAR should be installed on all servers. If you don't have it on yours, please submit a help desk ticket so the techs can take care of it. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
you have two choices, both work<br /><br />1- ask one of the admins to install the library of pear that you are interested in, into the default include file so that all you have to do is write<br /><br />include 'pear.php';<br /><br />2- download the libraries you want and install them on your site. I like to put them outside the public dir. Then all you do is<br /><br />include '/home/your-root/dir/pear.php';<br /><br />This is from an earlier Surfire and Raul conversation.<!--content-->
Thanks for the help, i had to change some other dir locations in there example and the main script to get it to work. Rock Sign<!--content-->
 
Back
Top