V-TEK Weblog about webdevelopment and linux

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 ;)

About admin

No description. Please complete your profile.
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.

Recent Comments

Tags

Apache cakephp cpanel dav dd-wrt DNS Ext3 Framework GIT GNU grub javascript Kernel lilo Linux LPI LVM MVC MySQL Netbeans Netfilter PHP piping ps3 redirection regex Ruby on Rails Samba Sendmail Shell Skype SNMP Squid Symfony ubuntu upnp vim windows X Xorg X Window System