Installing libtidy in PHP5 on a CentOS cPanel server
To install libtidy in PHP5, it’s really quite easy.
Make sure your /tmp directory doesn’t have something like noexec set on it, otherwise this would be more difficult.
Here’s the install command:
pecl install http://pecl.php.net/get/tidy-1.2.tgz
Find where your main php.ini file is:
root@server [~]# php -i|grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
Add the module to your [...]
Posted on July 26th, 2008 by Phil Dufault
Filed under: CentOS, Linux, PHP, Redhat | 3 Comments »