18Oct/070
howto cPanel server with t1lib
If you get the error "Fatal error: Call to undefined function imagepsloadfont()" on your cPanel server, it is because the t1lib is not compiled in your webserver. You can solve this problem by following the next steps:
cd /root
mkdir t1lib
cd t1lib
wget http://www.ibiblio.org/pub/linux/lib...b-5.0.2.tar.gz
tar zxf t1lib-5.0.2.tar.gz
cd t1lib-5.0.2
./configure --prefix=/usr
make without_doc
make install
the above installs the t1lib.
then:
cd /home/cpapachebuild/buildapache
then edit the "buildscript" file with your favourite editor.
find the 4 PHP configure commands near the bottom of the script and place the following at the end of all 4:
--with-t1lib=/usr
save it.
now do:
./buildscript
You're finished