Empulse Group a collection of notes from a sys admin, musician, and father


PECL install package

If you are getting errors when trying to install a package using PECL, it may because of permissions on /tmp.

[root@www ~]# mount -o remount,exec,suid /tmp

Do a channel-update for both PEAR and PECL before install the package:

[root@www ~]# pear channel-update pear.php.net
[root@www ~]# pecl channel-update pecl.php.net
[root@www ~]# pecl install package

Add the line extension=package.so to the php.ini file.

Restart Apache.

Then don't forget to remount when you are done:

[root@www ~]# mount -o remount /tmp

Click here to read the cheap auto insurance quotes review.