Results 1 to 2 of 2
Thread: Which PEAR modules installed?
Sep 26, 2006, 06:43 #1
- Join Date
- Apr 2002
- Aberystwyth, UK
- 0 Post(s)
- 0 Thread(s)
Which PEAR modules installed?
Is there a function in PHP that lists all the installed PEAR modules?
If im on a shared server how do I find out what modules are installed and available without having to speak to the host each time I find a new one
On my own machine its fine, but I cant work out how to find them on a remote host.
Sep 26, 2006, 07:40 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 112 Post(s)
- 1 Thread(s)
Once you install the PEAR_Info package, you can use a file like this (windows has a different path seperator)
'include_path', ini_get('include_path') . ":" .
$_SERVER['DOCUMENT_ROOT'] . "/your_PEAR_package_folder/");
$info = new PEAR_Info();
?>10 Rules for Driving Traffic Using Forums | Ultimate SEO Checklist
External links are nofollow
How to be a Great Online Community Member
Member of the Month for December 2013
Free SitePoint book - Thinking Web: Voices Of The Community
The 2013 SitePoint Awards - Nominations closed - Voting to begin soon
Introducing the new Code Review Forum