RVSiteBuilder / cPanel / PEAR / Pecl

Our customers recently started complaining that RV Site Builder stopped working. So I did the normal fix of running the following command as root over SSH:

# perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi

After a while the installed quit with the error:

Cannot execute pear on path /usr/local/bin/pear

I thought this was a bit odd, as we have always compiled our PHP with PEAR and PECL support, but after searching for the Pecl and Pear binaries the script was correct – they didn’t exist.

I eventually found copies of the binaries in

/usr/local/cpanel/3rdparty/bin/

I copied these across to /usr/local/bin and re-ran the script – which worked correctly.

After a bit more research though, it turns out that PEAR is now included in the default PHP installation, and that by ticking the box inside Easy Apache inside cPanel you are in fact disabling PEAR rather than enabling – so if you un tick the box and re-run Easy Apache everything should be back to normal.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>