freetype with php

Hi,

I am new to linux so please bare with me. I have a remote server I can
SSH into which is running Apache/Php. I am trying to add Freetype
support to my Php 5.x so that I can use Captcha on my website.

Can I install and add Freetype support through my SSH connection? If so,
can someone please give me instructions on how to do so? thank you.

-miguel
blnukem [ Do, 12 April 2007 18:35 ] [ ID #1685827 ]

Re: freetype with php

Bill schreef:
> Can I install and add Freetype support through my SSH connection? If so,
> can someone please give me instructions on how to do so? thank you.
>

If you can become root, then you should be able to do this.

General directions:

1. Get the latest freetype package
2. Untar the packages (e.g. tar xxf freetype_X.X.X.tgz
3. Go to the dir containing the source and run the following commands:
make setup && make && && make install
4. When this succeeds, go the directory containing your PHP source
distribution (if you can't find it, download it from the php.net
website)
5. Run: ./configure --with-freetype-dir=/usr/local
6. Run: make && make install
7. Restart Apache and you are on.


JW
Janwillem Borleffs [ Fr, 13 April 2007 11:29 ] [ ID #1686947 ]

Re: freetype with php

Janwillem Borleffs schreef:

A correction:

> 2. Untar the packages (e.g. tar xxf freetype_X.X.X.tgz
>

This should be: tar xzf freetype_X.X.X.tgz


JW
Janwillem Borleffs [ Fr, 13 April 2007 11:35 ] [ ID #1686948 ]
PHP » alt.php » freetype with php

Vorheriges Thema: Duplicate Display in php/mysql result
Nächstes Thema: PHP activating JAVASCRIPT?