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