Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

How to Update PHP PEAR Packages in Webuzo

Updating PEAR packages keeps your PHP add-ons safe and working. This guide shows how to do it in Webuzo.

Webuzo2 min read9 steps3 screenshots

What are PEAR packages?

PHP is a language that runs many websites. PEAR is a library of ready-made PHP code. Each add-on in it is called a package. Packages get updates to fix bugs and close security holes. Like phone apps, they work better when updated.

Webuzo is a control panel, a dashboard for your server. Ask Hostvento support if it is on your plan.

Before you update

An update may change how a package works. A site that depends on the old way might break. Take a backup of your sites first. If you can, test on a copy of the site.

Steps

  1. Log in to the Webuzo panel.
  2. Find PHP PEAR Packages. Use the search box if you cannot spot it.
    Screenshot: Find PHP PEAR Packages . Use the search box if you cannot spot it.
  3. Open the page and look at the list of installed packages.
  4. Look for an update button or a note that a newer version exists.
  5. Click Update beside the package you want to update.
    Screenshot: Click Update beside the package you want to update.
  6. Confirm the action if you are asked.
  7. Wait for the success message.
  8. Check the version number in the list. It should be higher now.
  9. Open your websites to make sure all pages still work.

Using the command line

With SSH and root access you can use commands. SSH is a safe way to type commands on a server.

pear list-upgrades

This shows packages that have newer versions.

pear upgrade Package_Name

This updates one package. Replace Package_Name with the real name.

Screenshot: This updates one package. Replace Package_Name with the real name.
pear upgrade-all

This updates every package at once. Use it with care.

Tip: Update one package at a time. If something breaks, you will know which one caused it. Menu names can differ by Webuzo version.

Quick recap

  • PEAR packages need updates for safety and fixes.
  • Use the PEAR page in Webuzo and click Update.
  • Back up your sites first.
  • Test your sites after the update.