简体   繁体   中英

pear package installation in CPanel

I am using some functionalities of PHP PEAR Package in my CakePHP application like Mail , Image_Text etc.

I took a linux hosting from godaddy. When I deployed my application to the server, it did not worked. How do I install PHP Pear package and its extensions on server?

Should I have to contact with support or I can do it at my end?

Thanks in advance for your help.

you need to install pear to begin with. SSH access will be required otherwise you will need to contact your host to install it for you. cPanel runs on CentOS and there are plenty of tutorials online to install Pear on CentOS. eg "yum install pear".

It will probably also be helpful to have access to WHM. (cPanels account controller).

http://docs.cpanel.net/twiki/bin/view/11_30/CpanelDocs/PhpPearPackages

If you have a server with cPanel/WHM with Go Daddy you can add Pear via EasyApache.

  1. Log in to WHM as the 'root' user.
  2. In the Find box type easy.
  3. Click EasyApache (Apache Update).
  4. Leave default, and then click Start customizing based on profile.
  5. Leave default, and then click Next Step.
  6. Leave default, and then click Next Step.
  7. Leave default, and then click Next Step.
  8. Click Exhaustive Options List.
  9. Click pear, and then click Save and build.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM