PHP + GD with jpeg and ttf enabled on FreeBSD 5.3 and Apache 1.3
- From: "Charles Brewster" <charles-brewster@xxxxxxxxxxxx>
- Date: 22 Aug 2006 06:03:19 -0700
Hello
Does anybody out there have PHP + GD graphics including jpeg and
TrueType (ttf) fonts running on FreeBSD 5.3 + Apache 1.3.nn ?
I've trying to configure PHP with GD on my server box using the
following configure_php file
#!/bin/sh
../configure \
--with-mysql=/usr/local/mysql-standard-4.0.24-unknown-freebsd4.7-i386 \
--with-apxs=/usr/local/apache/bin/apxs \
--with-gd \
--with-png-dir=/usr/local/include/libpng \
--with-jpeg-dir=/usr/local/include \
--with-zlib-dir=/usr/src/php/php-5.0.4/ext/zlib \
--enable-gd-native-ttf \
--with-freetype-dir=/usr/local/include/freetype2/freetype
Everything seems to run OK going through
../configure
make
make install
After restarting Apache, I can't see jpeg or ttf showing up in
phpinfo()
I have 'extension=gd.so' in php.ini
Do I need any other extensions specified there?
I'd be much obliged if anyone who has this configuration (or something
like it) running OK could point out any obvious error(s) in the above
or point me towards a walk-through install doc, if such a thing exists.
I've tried rebuilding PHP through the ports tree using 'portupgrade',
but that didn't work either.
Many thanks for any help
Charles Brewster
.
- Follow-Ups:
- Prev by Date: Re: setting sessions in a form
- Next by Date: Re: How do I set Session Variables
- Previous by thread: How do I set Session Variables
- Next by thread: Re: PHP + GD with jpeg and ttf enabled on FreeBSD 5.3 and Apache 1.3
- Index(es):
Relevant Pages
|