I installed PEAR and HTML_QuickForm through SSH, but noticed 'without-pear' when running 'phpinfo();'. Obviously, I can't utilize PEAR with this setting. Apart from recompiling PHP, how can I "enable" PEAR?
Thanks!
I installed PEAR and HTML_QuickForm through SSH, but noticed 'without-pear' when running 'phpinfo();'. Obviously, I can't utilize PEAR with this setting. Apart from recompiling PHP, how can I "enable" PEAR?
Thanks!
What kind of account is this? If a VPS or dedicated server, do you have a control panel?
Yes - sorry for the lack of information.
I'm running: VPS, CentOS 5, Plesk 9
From the command line, try running:
That may do the trick.Code:yum -y install php-pear service httpd restart
You're seeing that in your php.ini or your phpinfo? Plesk relies on the system's php installation, which will utilize an rpm-based installation on centos. The so-called './configure' directives listed in phpinfo are not actually the compiled-in options but were at one time options that a rpm package builder had used. If you ctrl+f and search for "include_path", you should see the path to pear in the local & master value columns.
Pear isn't actually a 'normal' php module. in fact, it's not a php module at all. Pear is simply a framework for php. A framework which provides a set of php scripts that provide functions which provide an easier method for performing various tasks with the language.
Bookmarks