• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Php & Pear

R

raaqi

Guest
Is it possible to run PEAR for a single site instead of reinstalling PHP with PEAR enabled?

Like IONCUBE, you can simply put it in the httpdocs directory & PHP scripts will be able to run. Is it possible? If so where can I get the files?

Regards,
 
I do not believe so, as far as I know its either your servers php has pear or it doesnt. You may be able to modify file permissions to the files to only allow one user, but Im not sure that would work.

I personally dont use PEAR cause it is a horrible security risk.

Your OS Vendor may already have an RPM for php-pear, if not PSA has it in their repository, for RHEL4 for example:

php-pear.i386 4.3.9-3.22.9 PSA-product-upda

and RHEL itself
php-pear.i386 4.3.9-3.22.9 rhel4-updates

However ART in his atomic chanel has one for php 5 if your vendor doesnt
php-pear.noarch 1:1.5.0-5.el4.art atomic

Just as an example
 
Back
Top