HOWTO: Install PEAR library
Pear is not included with PHPED IDE and therefore it has to be installed first.
Please locate
phped/php/go-pear.bat file and run it. Normally, it's not necessary to correct anything and you may proceed with default (empty) answers.
Finally, it will install pear.php in pear subdirectory.
Also, please make sure you have added PEAR to include_path setting in php.ini that is located in phped/php directory. For example:
include_path = ".;c:/program files/nusphere/phped/include_lib;c:/program files/nusphere/phped/php/PEAR" |
Check phpinfo to make sure if everything is okay with include_path.
See
http://pear.php.net/manual/en/installation.getting.php for further details.
If you need PEAR for NuSphere TechPlatform, all said above will work and you only need to substitute directory names. TechPlat's php is installed by default in c:\program files\nusphere\techplat\apache\php and go-pear.bat is there.